17 TypeHandle PhysxConvexForceFieldShape::_type_handle;
22 void PhysxConvexForceFieldShape::
23 link(NxForceFieldShape *shapePtr) {
25 _ptr = shapePtr->isConvex();
26 _ptr->userData =
this;
32 group->_shapes.add(
this);
38 void PhysxConvexForceFieldShape::
41 _ptr->userData =
nullptr;
42 _error_type = ET_released;
45 group->_shapes.remove(
this);
54 nassertv(_error_type == ET_ok);
55 _ptr->saveToDesc(shapeDesc._desc);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A descriptor for a convex force field shape.
void set_name(const char *name)
Sets a name string for this object.
void save_to_desc(PhysxConvexForceFieldShapeDesc &shapeDesc) const
Saves the state of the shape object to a descriptor.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.