Angled Collsions
by James Johnson · in Torque Game Builder · 07/09/2005 (5:00 pm) · 1 replies
First I just want to say hello to everyone. I'm new here.
I'm playing around with collision detection and I've got a tile with an triangle shaped collision poly. (triangle upper right, in the tile editor) And I have my player with a small collsion box around his feet. I want the triangle to just stop the player and let him slide along the edge. But instead every time there's a collsion between the player and the angled edge of the triangle, the player skips up through the collision poly and appears on top of it. Any other collision works fine though.
Anyone have any ideas?
I'm playing around with collision detection and I've got a tile with an triangle shaped collision poly. (triangle upper right, in the tile editor) And I have my player with a small collsion box around his feet. I want the triangle to just stop the player and let him slide along the edge. But instead every time there's a collsion between the player and the angled edge of the triangle, the player skips up through the collision poly and appears on top of it. Any other collision works fine though.
Anyone have any ideas?
Torque Owner James Johnson
I was able to solve the problem by using the onCollision() overide. So there is definately a collsion going on between the player and the angled tile. I wonder if it has something to do with my physics settings ...