Time for action – building Halo
OK, don't get too excited. We're not actually going to build Halo... we're going to build a halo to make our bullet look all glowy and awesome.
Ensure that the Bullet GameObject is still selected.
In the menu, go to Component | Effects | Halo. This adds a cool halo effect to the bullet.
In the Inspector panel, click on the color swatch for the Halo Component. Enter the same neon-green color values as before:
R:
9
G:
255
B:
0
Change the halo's Size value to
0.5
.Now let's get the bullet ready to move around in the physics engine.
Make sure the Bullet GameObject is still selected.
In the menu, go to Component | Physics | Rigidbody.
In the Inspector panel, uncheck Use gravity.
At the top of the Inspector panel, click on Add Tag... in the Tag dropdown.
Create a new tag called
bullet
. (If you want to keep your file tidy, you can delete the old bomb and stein tags left over from the previous project, and shrink the list size down to2
.)Click again to select the bullet...