15 #include "physxWheel.h" 16 #include "physxWheelDesc.h" 17 #include "physxWheelShape.h" 23 // Function: PhysxWheel::get_wheel_shape
27 PhysxWheelShape *PhysxWheel::
28 get_wheel_shape() const {
36 // Function: PhysxWheel::attach_node_path
38 // Description: Attaches a node path to this wheel. The node
39 // path's transform will be updated automatically.
41 // Note: any non-uniform scale or shear set on the
42 // NodePath's transform will be overwritten at the
43 // time of the first update.
46 attach_node_path(const NodePath &np) {
48 nassertv(_error_type == ET_ok);
49 nassertv_always(!np.is_empty());
54 // Function: PhysxWheel::detach_node_path
56 // Description: Detaches a previously assigned NodePath from this
57 // wheel. The NodePath's transform will no longer
63 nassertv(_error_type == ET_ok);
68 // Function: PhysxWheel::get_node_path
70 // Description: Retrieves a previously attached NodePath. An empty
71 // NodePath will be returned if no NodePath has been
72 // attached to this wheel.
75 get_node_path() const {
77 nassertr(_error_type == ET_ok, NodePath::fail());
TypeHandle is the identifier used to differentiate C++ class types.