15 #ifndef PHYSXWHEELSHAPEDESC_H
16 #define PHYSXWHEELSHAPEDESC_H
18 #include "pandabase.h"
20 #include "physxShapeDesc.h"
21 #include "physx_includes.h"
33 INLINE ~PhysxWheelShapeDesc();
35 void set_to_default();
36 INLINE
bool is_valid()
const;
38 void set_radius(
float radius);
39 void set_suspension_travel(
float suspensionTravel);
40 void set_inverse_wheel_mass(
float inverseWheelMass);
41 void set_motor_torque(
float motorTorque);
42 void set_brake_torque(
float brakeTorque);
43 void set_steer_angle(
float steerAngle);
44 void set_wheel_flag(PhysxWheelShapeFlag flag,
bool value);
47 float get_radius()
const;
48 float get_suspension_travel()
const;
49 float get_inverse_wheel_mass()
const;
50 float get_motor_torque()
const;
51 float get_brake_torque()
const;
52 float get_steer_angle()
const;
53 bool get_wheel_flag(PhysxWheelShapeFlag flag)
const;
57 NxShapeDesc *ptr()
const {
return (NxShapeDesc *)&_desc; };
58 NxWheelShapeDesc _desc;
61 #include "physxWheelShapeDesc.I"
63 #endif // PHYSXWHEELSHAPEDESC_H
Describes a joint spring.
Descriptor class for PhysxWheelShape.
Abstract base class for shape descriptors.