Tao.Ode SDK Documentation

Ode.dGeomSetQuaternion Method 

Set the rotation of a placeable geom. This function is analogous to dBodySetQuaternion. If the geom is attached to a body, the body's rotation will also be changed. Calling this function on a non-placeable geom results in a runtime error in the debug build of ODE.

[Visual Basic]
Public Shared Sub dGeomSetQuaternion( _
   ByVal geom As IntPtr, _
   ByVal q As dQuaternion _
)
[C#]
public static void dGeomSetQuaternion(
   IntPtr geom,
   dQuaternion q
);

Parameters

geom
the geom to set
q
the new rotation

See Also

Ode Class | Tao.Ode Namespace