Hello! I’m creating a game where the player can fly a drone around. I made an empty game object called “Drone” and placed all of the pieces together to make a body with wings and feet, and then made all the pieces children of the empty game object. I did some scripting and now I am able to move the drone in all directions and fly around.
[24600-screen+shot+2014-04-01+at+10.02.48+pm.png|24600]
So, here’s where I’m running into an issue; I made a bunch of small propeller objects and I’d like to attach them to the wings so that when the player presses the spacebar to move up, the propellers spin (separately from the rest of the drone). I made the propellers and made them children of the empty Drone object, and added a script (only to the propeller “children”) so they would rotate when the spacebar was pressed.
When I do this, however, it doesn’t really work. It sort of made the entire drone rotate. This isn’t what I want at all. Can anyone help me out? I’ve been trying to use joints but they just make the propellers fall off the drone or make the drone get stuck in the ground.