Game Development Reference
In-Depth Information
You can also change the properties of the bullet under Behaviors , if you want to. You can
change the speed, acceleration, and gravity, and you can also set whether it bounces off
solids. You can set the angle and you can choose whether the projectile will be enabled or
not.
One way to make your bullets appear more realistic is to add the Gravity option shown in
the following screenshot. Gravity in games works just like gravity in the real world. For
projectiles such as cannonballs, it adds a level of realism. Go ahead and try it out.
Search WWH ::




Custom Search