20 set_vel_target(
float velTarget) {
22 _desc.velTarget = velTarget;
29 set_max_force(
float maxForce) {
31 _desc.maxForce = maxForce;
38 set_free_spin(
bool freeSpin) {
40 _desc.freeSpin = (NX_BOOL)freeSpin;
46 float PhysxMotorDesc::
47 get_vel_target()
const {
49 return _desc.velTarget;
55 float PhysxMotorDesc::
56 get_max_force()
const {
58 return _desc.maxForce;
65 get_free_spin()
const {
67 return (_desc.freeSpin) ? true :
false;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.