22 INLINE PhysxController::
25 _speed = NxVec3(0.0f, 0.0f, 0.0f);
36 _up_vector = NxVec3(0.0f, 1.0f, 0.0f);
37 _up_axis = (NxHeightFieldAxis)physx_up_axis.get_value();
41 _up_quat = NxQuat(90.0f, NxVec3(1.0f, 0.0f, 0.0f));
44 _up_quat = NxQuat(0.0f, NxVec3(1.0f, 0.0f, 0.0f));
47 physx_cat.error() <<
"only y-up and z-up are permitted" << endl;
50 _up_quat_inv = _up_quat;
51 _up_quat_inv.invert();
59 INLINE
void PhysxController::
70 INLINE
void PhysxController::
71 ls(ostream &out,
int indent_level)
const {
73 indent(out, indent_level) << get_type().
get_name()
74 <<
" (at 0x" <<
this <<
")";
PhysxActor * get_actor() const
Retrieves the actor which this controller is associated with.
string get_name(TypedObject *object=(TypedObject *) NULL) const
Returns the name of the type.