14#ifndef PHYSXPRISMATICJOINT_H
15#define PHYSXPRISMATICJOINT_H
28class EXPCL_PANDAPHYSX PhysxPrismaticJoint :
public PhysxJoint {
31 INLINE PhysxPrismaticJoint();
32 INLINE ~PhysxPrismaticJoint();
38 INLINE NxJoint *ptr()
const {
return (NxJoint *)_ptr; };
40 void link(NxJoint *jointPtr);
44 NxPrismaticJoint *_ptr;
50 static void init_type() {
51 PhysxJoint::init_type();
53 PhysxJoint::get_class_type());
56 return get_class_type();
60 return get_class_type();
Descriptor class for prismatic joint.
void load_from_desc(const PhysxPrismaticJointDesc &jointDesc)
Loads the entire state of the joint from a descriptor with a single call.
void save_to_desc(PhysxPrismaticJointDesc &jointDesc) const
Saves the state of the joint object to a descriptor.
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(),...