30class EXPCL_PANDAPHYSX PhysxD6Joint :
public PhysxJoint {
33 INLINE PhysxD6Joint();
34 INLINE ~PhysxD6Joint();
39 void set_drive_angular_velocity(
const LVector3f &v);
40 void set_drive_linear_velocity(
const LVector3f &v);
41 void set_drive_orientation(
const LQuaternionf &quat);
42 void set_drive_position(
const LPoint3f &pos);
45 INLINE NxJoint *ptr()
const {
return (NxJoint *)_ptr; };
47 void link(NxJoint *jointPtr);
57 static void init_type() {
58 PhysxJoint::init_type();
60 PhysxJoint::get_class_type());
63 return get_class_type();
67 return get_class_type();
void save_to_desc(PhysxD6JointDesc &jointDesc) const
Saves the state of the joint object to a descriptor.
void load_from_desc(const PhysxD6JointDesc &jointDesc)
Loads the entire state of the joint from a descriptor with a single call.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...