Sign in to follow this  
ms75214

loop de loop

Recommended Posts

It depends on how you model the movement of the plane.

Could be anything from simulating the forces on the wings and rudders of the plane, to simply rotate it around the x axis.

Slightly more helpful addition:

A simple way is to have a direction vector. each frame you add this vector (scaled by velocity) to your position.
To turn, you rotate and renormalize the direction vector.

This way, you can turn in any direction, and to make a loop, just keep turning until you have completed it :) Edited by Olof Hedman

Share this post


Link to post
Share on other sites
[quote name='Olof Hedman' timestamp='1343125099' post='4962558']
It depends on how you model the movement of the plane.

Could be anything from simulating the forces on the wings and rudders of the plane, to simply rotate it around the x axis.

Slightly more helpful addition:

A simple way is to have a direction vector. each frame you add this vector (scaled by velocity) to your position.
To turn, you rotate and renormalize the direction vector.

This way, you can turn in any direction, and to make a loop, just keep turning until you have completed it [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]
[/quote]

How about a few hand-crafted Bezier curves?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this