|
Hey I am making a game where you are a robot, I want the legs to move the body while the top follows the mouse and fires bullets. I have the moving and rotating down all I need is help with the bullets flying from the turret, instead of the legs, I put script on the turrets and made them fire but its still coming from the legs.
(comments are locked)
|
|
It sounds like you simply need to either raise the position of the bullet's starting position, or - if your turrets are a separate gameObject, use the turret's position instead of the legs. (Presumably your script is on the "legs" gameobject, and the rotating turret is a child object of the legs?...). Eg - Instead of:
You could either have:
Or:
(comments are locked)
|
|
does it have a title screen yet? Why do you need to know? How does that help?
Apr 23 '10 at 01:58 AM
DTJ Productions
(comments are locked)
|

Post some code or something