14 #ifndef PHYSXD6JOINT_H
15 #define PHYSXD6JOINT_H
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();
A D6 joint is a general constraint between two actors.
Abstract base class for the different types of joints.
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(),...