Game Development Community

Sort points

by Inaki Griego · in Torque Game Builder · 11/25/2007 (11:21 am) · 0 replies

Hi all

My problem is the following: I have a static sprite (a human character), and I want to move it to a point. To do this, I use moveTo(), but this function puts the sprite using its center point. That is, I want to place my human character's foots over the point, not its abdomen.

I can solve this with vector math vector, but I thought there must be something in TGB to do this elegantly. Are sort points for this type of duties? I have searched all GarageGames site and I haven't been able to find anything about sort points.

Thanks in advance.

About the author

Recent Threads