15 #ifndef PHYSXSPHERICALJOINT_H
16 #define PHYSXSPHERICALJOINT_H
18 #include "pandabase.h"
20 #include "physxJoint.h"
21 #include "physx_includes.h"
37 INLINE ~PhysxSphericalJoint();
42 void set_flag(PhysxSphericalJointFlag flag,
bool value);
43 void set_projection_mode(PhysxProjectionMode mode);
45 bool get_flag(PhysxSphericalJointFlag flag)
const;
46 PhysxProjectionMode get_projection_mode()
const;
50 INLINE NxJoint *ptr()
const {
return (NxJoint *)_ptr; };
52 void link(NxJoint *jointPtr);
56 NxSphericalJoint *_ptr;
63 static void init_type() {
64 PhysxJoint::init_type();
65 register_type(_type_handle,
"PhysxSphericalJoint",
66 PhysxJoint::get_class_type());
69 return get_class_type();
73 return get_class_type();
80 #include "physxSphericalJoint.I"
82 #endif // PHYSXSPHERICALJOINT_H
Abstract base class for the different types of joints.
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.