View Full Version : Programming helicopter physics

04-03-2004, 12:51:36
Let's say theoretically someone wanted to produce a game (in flash) modelling a helicopter's movement.

The helicopter would be side on to the player, and you would be able to move up/down and forwards backwards.

The player would have two types of controls

Increase/decrease rotor speed
Increase/decrease rotor angle

The combination of increasing blade speed and angle would determine the coptor's lift and forwards/backwards movement.

How would you go about things? Or, can you think of any sites that have good tutorials about this kind of thing?

04-03-2004, 13:07:07
No idea, but the controls in this game are really good, and simpler than what you're describing if that helps at all...


04-03-2004, 13:31:45
Yeah, but part of the point of the game will be learning to fly the helicopter.

04-03-2004, 13:36:37
we need to contact Rekrul to get him to be our technical advisor. :)

04-03-2004, 13:44:15

Actually that's a great idea.

04-03-2004, 14:42:46
Is there no way of borrowing physics from another flash game? Let's say this one (http://www.totebo.com/monkeylander/lander.html) for instance.

04-03-2004, 14:57:27
well now you've linked to it. no. ;)

but yes, there are a lot of physics type flash tutorials about.

04-03-2004, 15:01:39
I could lose the link if you like. Beg borrow and steal is my motto.

04-03-2004, 15:10:04
only kidding. we need source code examples, flash files are compiled. I'm having a look now.

04-03-2004, 15:35:13
The physics of a lander is very different to a chimpcopter. The equations are pretty simple really.

You've got lift, gravity, thrust and drag (air resistance).

Lift and thrust are both components of the force you get from the helicopter blades.

With the helicopter blades horizontal the helicopter will just hover. Tilt blades forward and it'll move forward.

I reckon it'd be a bit different.

04-03-2004, 16:17:30
wouldnt say that they're that different. unless you want the helicopter to hover level all the time by itself. (too easy?)

04-03-2004, 16:44:42
Yeah... I thought that there would be like a throttle which you had to vary the power of which would be more realistic than a thrusting type motion.


05-03-2004, 10:17:07
Just copying the e-mail I just sent to Nav about this, in case anyone wants to have a look at it and tell me I'm an idiot:

It turns out I am an idiot. So I have deleted the evidence.

05-03-2004, 10:18:20
Ah, that lost all my formatting... fuckit.

05-03-2004, 15:34:14
Show the game, bitch.

05-03-2004, 16:28:18
We've just about got it hovering up and down ok, I think that once we convert the degrees to radians we'll have forward and backwards sorted as well.

There is no game as such, just a rough physics model of how the thing will fly.

Scabrous Birdseed
05-03-2004, 16:31:51

Ooooh! You're making a Chimpcopter game. I was wondering what this was for.

05-03-2004, 16:48:41
Can I post my chimpcopter artists impression? Can I? Can I?

05-03-2004, 17:07:03

05-03-2004, 17:09:52

Artists Impression:

Earlier I emailed this picture to Nills. He commented that he couldn't believe a chimpcopter game was already in existance.

05-03-2004, 17:13:11

05-03-2004, 17:15:55
That's a damn lot of buttons.

05-03-2004, 18:35:09
that's good! :D

well version actually flies like a helicopter (most of the time!)

No longer Trippin
06-03-2004, 19:46:26
And the rest of the time? :)

06-03-2004, 20:55:28
It crashes like one probably ;)...