A neat trick to do shadows for an object above a flat plane. This will work for single colour shadows for any object (like oldskool black shadows), but for convex objects (eg sphere or box), ghost or alpha will work too.
Rem Project: squash rotated object test
Rem Created: 14/11/2010 17:12:27
Rem ***** Main Source File *****
autocam off
sync on:sync rate 60
make object box 1,20,40,80
make object box 2,20,40,80
position object 2,0,-99.9,0:scale object 2,100,0,100 `make shadow flat and position just above floor height -100
color object 2,0 `black
make object box 3,200,20,200
position object 3,0,-110,0
position camera 0,-150,50,0
point camera 0,-50,0
do
turn object left 1,leftkey()-rightkey()
pitch object up 1,upkey()-downkey()
roll object left 1,shiftkey()-controlkey()
xa#=object angle x(1)
ya#=object angle y(1)
za#=object angle z(1)
rotate limb 2,0,xa#,ya#,za#
sync
loop