Game Development Community

Rigid class

by Roshan Kuriyan · in Torque Game Engine Advanced · 06/20/2006 (7:28 pm) · 3 replies

I am using Rigid class in my script as a derived class for the shapebase class , any one have tried using this rigid class in u r scripts , if so pls send me the default values of its attributes.

thanks in advance.

#1
06/28/2006 (10:08 pm)
Some one out there !!!!!!!!!!!!!!!
#2
06/30/2006 (1:19 pm)
I don't think you can use the Rigid class in scripts.

It's sort of a component class used by the Vehicle class for handling physics.

You can (in the engine) use it in similar ways with other classes, for instance, addings simple physics to the item class.

If you want something similar to a very simple shapebase but with functioning rigid body physics, you could make something that is essentially a very stripped down version of the vehicle class, or you could add the rigid component and code for using it to a different class. I'm prettu sure there's a tutorial on GG for adding it to the item class.
#3
06/30/2006 (6:48 pm)
Thanks Max ,for u r valuable info . can u send me the link of the tutorial. or pls brief me out how to use the rigid component to my shapebase object.
i tried out former method u suggested earlier itself , i.e vechicle data block , but output is not the desired one.
thanks in advance.