Week 5 – UmLet Shoot Projectile


This UmLet is made to show the variables and results of the ShootProjectile code, which is the first part of the shooting mechanic.

_range is the maximum distance the projectile can go

_damage represents how much an object that is hit will be affected by the projectile

_trajectory is the direction the ray goes detecting what the projectile hits

_shotMask determines what layers can be shot

_bullet provide the visual feedback of the projectile by using a LineRenderer


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s