Creating a rotating platform
Posted: Tue Sep 06, 2011 12:55 am
Hi, I´m pretty new to the chipmunk engine and I´m struggling to get the following to work (In my mind it sounds like it should be simple but I can't get it to work): I want to have a platform, that is floating, and has a pivot point that limits its movement in a circular fashion, sort of:
http://www.2pstart.com/reviews/wariowar ... mario3.jpg
How could I achieve this in chipmunk?
I've tried using a pivot joint and disabling the gravity. That shows the platforms in place but the moment I apply an impulse on them, they are sent flying over. I would like them to stay in place but rotating.
Thanks in advance for any help!
Francisco
http://www.2pstart.com/reviews/wariowar ... mario3.jpg
How could I achieve this in chipmunk?
I've tried using a pivot joint and disabling the gravity. That shows the platforms in place but the moment I apply an impulse on them, they are sent flying over. I would like them to stay in place but rotating.
Thanks in advance for any help!
Francisco