14 #ifndef PHYSXSPHERICALJOINT_H 15 #define PHYSXSPHERICALJOINT_H 38 void set_flag(PhysxSphericalJointFlag flag,
bool value);
39 void set_projection_mode(PhysxProjectionMode mode);
41 bool get_flag(PhysxSphericalJointFlag flag)
const;
42 PhysxProjectionMode get_projection_mode()
const;
45 INLINE NxJoint *ptr()
const {
return (NxJoint *)_ptr; };
47 void link(NxJoint *jointPtr);
51 NxSphericalJoint *_ptr;
57 static void init_type() {
58 PhysxJoint::init_type();
60 PhysxJoint::get_class_type());
63 return get_class_type();
67 return get_class_type();
76 #endif // PHYSXSPHERICALJOINT_H 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(),...
Abstract base class for the different types of joints.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Descriptor class for distance joint.
A sphere joint constrains two points on two bodies to coincide.
TypeHandle is the identifier used to differentiate C++ class types.