Home Contents Forum Links Tip Jar
Animation Math in Lingo       

Two-Model Example

Drag on screen to spin the plane 
Two-model example - source movie

In this demo two separate animation models are rendered in two different ways.

One model consists of rotating four corners of a plane in 3D space, and is rendered with perspective using the 'quad' sprite property.

The other model is the familiar collision model in 2D rendered to an image object. Since the colliding objects aren't rendered as individual sprites, the script is instantiated in lingo for each object rather than being attached.

A version with some interesting effects is available from Idea Swap under "3D".

 
 


Copyright © 2003 JM Harward 
 jmckell~at~jmckell~dot~com
All lingo provided on this site may be used freely for educational purposes. Not for redistribution as uncompiled code. Instructional materials may not be reproduced without permission.