Game Development Community

Collision polygon question

by Richard Skala · in Torque Game Builder · 04/15/2010 (4:04 pm) · 5 replies

Is it possible to make an object's collision polygon larger than the object itself? Has anyone ever done this?

#1
04/15/2010 (6:55 pm)
I think the way to do that is to increase the transparent background.
#2
04/15/2010 (7:17 pm)
I see -- so what you're saying is that I would need to make the texture itself larger (with more invisible space around it), so that the collision box around the actual object is then larger.
#3
04/15/2010 (8:10 pm)
That's how I would handle it.
#4
04/16/2010 (5:42 am)
i believe you can also change an object collision poly through the editor
#5
04/16/2010 (10:07 am)
Yes, you edit the collision polygons in the TGB editor; however, you cannot extend the collision polygon's vertices beyond the size of the object. The range of the vertex values is (-1, 1).