The only thing I see that might go wrong in Lite-C is the vec_for_screen instruction, which expects a VECTOR* and not an ENTITY*. Try to add an ".x" to this (for both the entity pointer and the VIEW* pointer "camera").

And I do not quite see what the c_move is supposed to do - if both speeds are the nullvector, then the object will not move at all. Is this intended?

Regards,
Gnometech

Last edited by Gnometech; 08/02/07 14:23.

Download our playable Movement & Interaction Tutorial for 3DGS here:
http://www.puppenheim.org/MITutorial.zip