Can anyone tell me How to Rotate objects in elliptical path using Physics joints

Hi everyone,

In one of my game module i need to rotate 10 objects in clockwise and anticlockwise rotation on elliptical path, currently i am using “Pivot” physics joint to rotate object but it is in circular path which is very spac taking method, if anyone have solution for this then revert accordingly.

Thanks
mandar [import]uid: 84082 topic_id: 30101 reply_id: 330101[/import]

If you don’t need physics simulation, and just elliptical motion, you can use trigonometric functions or algebraic formulae to calculate where on an ellipse it would be at any system.getTimer() time. (probably want to multiply the time by a very small number like 0.001)

[import]uid: 63787 topic_id: 30101 reply_id: 128588[/import]

And do that in a Runtime enterFrame event. [import]uid: 63787 topic_id: 30101 reply_id: 128589[/import]

If you don’t need physics simulation, and just elliptical motion, you can use trigonometric functions or algebraic formulae to calculate where on an ellipse it would be at any system.getTimer() time. (probably want to multiply the time by a very small number like 0.001)

[import]uid: 63787 topic_id: 30101 reply_id: 128588[/import]

And do that in a Runtime enterFrame event. [import]uid: 63787 topic_id: 30101 reply_id: 128589[/import]