True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

void TA::CarTemplate::SetOrientation (
const Vec3 &   v3Forward,
const Vec3 &   v3Up
 

Call this function to set the the orientation of the car.

Parameters:
v3Forward
The forward direction that the car drives in, in local space. v3Forward must be normalised. The default value is TA::Vec3(0.0f, 0.0f, 1.0f).
v3Up
The up direction of the car, in local space. v3Up must be normalised. The default value is TA::Vec3(0.0f, 1.0f, 0.0f).
See Also:
TA::CarTemplate::GetForward and
TA::CarTemplate::GetUp.



© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.