Eh .. the vector which you want to align the axis to.
...........
..........2
...........
1..........
Say point 1 is the left tyres and point 2 is the right tyres, looking from behind the vehicle.
The vector pointing from p1 to p2 is ..
V\x = p2\x - p1\x
V\y = p2\y - p1\z
V\z = p2\z - p1\z
To align the x ( roll axis ) of the chassis to this vector use ...
Aligntovector Chassis, Vx, Vy, Vz, 1
Like I said - look at the driver example in the 3d samples folder.
Stevie
...........
..........2
...........
1..........
Say point 1 is the left tyres and point 2 is the right tyres, looking from behind the vehicle.
The vector pointing from p1 to p2 is ..
V\x = p2\x - p1\x
V\y = p2\y - p1\z
V\z = p2\z - p1\z
To align the x ( roll axis ) of the chassis to this vector use ...
Aligntovector Chassis, Vx, Vy, Vz, 1
Like I said - look at the driver example in the 3d samples folder.
Stevie