Game Development Community

Vehicle: center of gravity.

by Markus Nuebel · in Torque Game Engine · 04/02/2004 (12:31 am) · 4 replies

There was a posting somewhere, that described, how to move/modify the location of the center of gravity for a vehicle with your vehicle datablock.

I cannot find this any more.

Does someone remember how this was done?

-- Markus

#1
04/02/2004 (4:35 am)
Errr you have to set a "mass" node in your dts file
#2
04/02/2004 (4:38 am)
Yes, but I have read somewhere, that there is a datablock member that specifies an offset to the location to the mass node.

This way you can "move" the mass node of your model, without having to re-export it.

Or am I wrong here?

-- Markus
#3
04/02/2004 (3:03 pm)
The datablock parameter is:

massCenter = "0 0 0";

Offsets can be + or - for the x, y and z axis.
#4
04/03/2004 (3:07 am)
Thanks Martin.

That's what I was looking for.

-- Markus