Game Development Community

Collision Inconsistencies

by Jason Ravencroft · in Torque Game Builder · 09/16/2007 (6:53 pm) · 3 replies

Currently, in my test level I have a little problem. The player character can walk through some barriers from the bottom, but they block him normally from the side and the top. Has anybody seen this behavior and know its source?

#1
09/16/2007 (7:23 pm)
I should just post here when I have an issue. It seems that when the collision poly is less than 1/4 of the length of one side of the sprite, the collisions get a little wonky. In my case, the collision poly was "-0.600 0.600 0.600 0.600 0.600 1.000 -0.600 1.000", so basically around the protagonists knees. When I moved it to "-0.600 0.500 0.600 0.500 0.600 1.000 -0.600 1.000" the problem disappeared.

Is this a known problem?
#3
09/17/2007 (10:58 am)
Thank you, James. I searched and searched, but it's hard to find things around here unless you hit the exact phrase.