December 2013
Beginner
320 pages
8h 22m
English
With the addition of one more object and a single script, we can start shooting at our targets.
GameObject to our tank. Rename it to MuzzlePoint and make it a child of the cannon's pivot point object. Once done, position it at the end of the cannon so the blue arrow points away from the tank, along the same direction as the cannon. This will be the point where our bullets will come from.TargetPoint.0.2 for each axis and give it a red material. This way it can be more easily seen, without being completely ...Read now
Unlock full access