This project has moved and is read-only. For the latest updates, please go here.

Helicopter phisycs

Topics: Developer Forum, User Forum
Jun 25, 2010 at 10:25 AM


I'm trying to make a game with a helicopter in it. It's supposed to go up/down/left/right, be pulled down by the gravity and bounce of the walls. Most of it is done, I just created body, applied gravity and apply force when the keys are pressed.

The problem I've got is that I'm not sure how to make it swing in any realistic way. I tried to lock the maximum spinning angle, but that wasn't realistic at all. Also I've created 2 bodies on the sides of it, attached them to the helicopter with a linear spring, forced them to stay on the same height and on key pressed applied force to those 2 bodies, but that wasn't great neither.

Does anybody have any idea what should I use to make it behave as expected? Any help would be appreciated.

Jun 26, 2010 at 6:57 PM
Edited Jun 26, 2010 at 6:58 PM

Apply a force at a certain point (not the entire body).

Look into

You can simply use 1 body this way.

Edit: Oh, and make sure you tweak
so it's JUST right =). 

Jun 26, 2010 at 10:45 PM
Thanks! I've done what you suggested + I added FixedAngleSpring, tweaked a bit all of the settings and works exactly as expected.