Game Development Community

Help with Rigid Shape Class

by Sean Pollock · in Torque Game Engine · 12/03/2005 (5:52 pm) · 3 replies

Hi,

I recently download and successfully installed the rigid shape class from here but i am having a problem where the boulder isn't rotating like it should but instead slides when in motion. I have tried playing with the datablock script settings but nothing seems to make any differance. Does anyone know how to fix this problem?

Thanks in advance

Sean

#1
12/03/2005 (6:14 pm)
Did you create the boulder or use the one supplied on that resource?
#2
12/03/2005 (6:50 pm)
I used the boulder supplied on that resource.
#3
12/04/2005 (3:14 am)
Its determined a lot by the collision box used.

E.g. if you use a box for collision inside a ball, then the rotation will almost never be large enough to make it flip to another collision face - and thus it will slide.

On the other hand - using a 40 sided collision mesh will make your game very very slow, but the boulder will rotate almost perfectly