Game Development Community

Rigid shape / TSStatic collisions

by Frank Korf · in Technical Issues · 04/02/2007 (1:27 pm) · 2 replies

Hey.

I have a TSStatic shape (tree) on the map, which the player can collide with. However, I also have a RigidShape (ball) that rolls right through the TSStatic. How can I get collisions to work between the TSStatic and the RigidShape. (Yes, both have functional collision meshes)

Thanks

#1
04/02/2007 (1:59 pm)
It sounds like your tree's collision mesh is not convex. A Player will collide with a non-convex collision mesh while a RigidShape would not.
#2
04/02/2007 (2:28 pm)
Would it be possible to make a RigidShape collide with a non-convex collision mesh? Is there code in the player class that I could use as a reference?