Game Development Community

Coordinates when defining collision bound

by Teddy Setiawan Wijaya · in Torque Game Builder · 09/29/2006 (3:22 am) · 2 replies

Hi All,

Is there any way to see and enter coordinates (x, y) information when defining collision polygon in the level builder?

In the demo that I developed, my sprite got stucked several times for mysterious reason when moving near an object with collision polygon. When I turned on the collision bound info, it turned out that the collision line that I defined before is not really straight...;-)

of course you can just use mouse to move the collision point but if we can just enter the coordinates it might be easier....

Thank you

#1
09/29/2006 (8:13 am)
There's no way in the editor but you can open the level file in your script editor and type the points directly in there. I have used this method often to enforce straight/symmetrical lines.
#2
09/29/2006 (8:06 pm)
Good idea, thanks Ben!