Planet of the Timmies
February 28th, 2011 at 11:42 pm

So I don’t think I’ve actually done much on the flight model since the last post, but I’ve decided it’ll do for now. There’s still a couple of things I’d like to work on a little; the transition between taking off and flying isn’t a smooth as I’d like, for instance.

Actually, the taking off is kind of interesting. When flying I don’t use any of the built-in PhysX physical simulation that Unity provides, instead controlling all movement etc myself. This allows me to concentrate on the fun and feel of the flying without having to worry about the realism. However, one of the really useful things PhysX provides is collision detection – something that’s not so important in flight, but very important on the ground. Therefore when the plane is on the ground, its movement is controlled by applying various forces to it and allowing the simulation to run. Once the plane has taken off, I stop using the simulation completely, except to register damage to the plane if it hits the terrain.

Anyway, here’s the latest version:

Mouse controls movement

< and > (, and .) control throttle.

Click here to play

No comments yet.

RSS feed for comments on this post. TrackBack URI

Sorry, the comment form is closed at this time.