19 void PhysxJointDriveDesc::
20 set_spring(
float spring) {
22 _desc.spring = spring;
28 void PhysxJointDriveDesc::
29 set_damping(
float damping) {
31 _desc.damping = damping;
37 void PhysxJointDriveDesc::
38 set_force_limit(
float forceLimit) {
40 _desc.forceLimit = forceLimit;
46 void PhysxJointDriveDesc::
47 set_drive_type(PhysxD6JointDriveType driveType) {
49 _desc.driveType = (NxD6JointDriveType)driveType;
55 float PhysxJointDriveDesc::
64 float PhysxJointDriveDesc::
73 float PhysxJointDriveDesc::
74 get_force_limit()
const {
76 return _desc.forceLimit;
82 PhysxEnums::PhysxD6JointDriveType PhysxJointDriveDesc::
83 get_drive_type()
const {
85 return (PhysxD6JointDriveType)_desc.driveType.bitField;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.