[solved] Helicopter Propeller problem!

I’m doing a physics for helicopters, but I’m having problems with the propeller, the helicopter when it rotates forward, the propeller out of the ongoing rotation and is crooked, if anyone knows what is happening, please help me.

I’ll post a .blend for help

Attachments

Problem.blend (132 KB)

I think it defeats the object of having a script (I dont know Python very well)- but if you replace the Python Script with an AND block and have a simple Rot setting (like 1 or 2) on the rotor the problem goes away. Perhaps (as a guess) you have not defined an axis, or the axis is global.

I recommend Rubbernukes solution, but you can set the local axis indicator too:


obj.applyRotation([0.0, 0.0, obj['Torque']], 1) # 0 = global (default); 1 = local

Oh, thanks, it was really caused by the global rotation, thank you very much

Hi Nitsh,

Sometime ago I made a contra rotating rotors helicopter game/sim demo for the public usage.

This is using a mouse inputs:
http://blenderartists.org/forum/showthread.php?t=180773&highlight=hokum

Feel free to use it.