17 INLINE PhysxController::
20 _speed = NxVec3(0.0f, 0.0f, 0.0f);
31 _up_vector = NxVec3(0.0f, 1.0f, 0.0f);
32 _up_axis = (NxHeightFieldAxis)physx_up_axis.get_value();
36 _up_quat = NxQuat(90.0f, NxVec3(1.0f, 0.0f, 0.0f));
39 _up_quat = NxQuat(0.0f, NxVec3(1.0f, 0.0f, 0.0f));
42 physx_cat.error() <<
"only y-up and z-up are permitted" << std::endl;
45 _up_quat_inv = _up_quat;
46 _up_quat_inv.invert();
52 INLINE
void PhysxController::
61 INLINE
void PhysxController::
62 ls(std::ostream &out,
int indent_level)
const {
65 <<
" (at 0x" <<
this <<
")";
PhysxActor * get_actor() const
Retrieves the actor which this controller is associated with.
get_name
Returns the name of the type.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.