Panda3D
|
Public Member Functions | |
LVector3f | get_drive_angular_velocity () const |
LVector3f | get_drive_linear_velocity () const |
LQuaternionf | get_drive_orientation () const |
LPoint3f | get_drive_position () const |
bool | get_flag (PhysxD6JointFlag flag) const |
float | get_gear_ratio () const |
PhysxJointLimitSoftDesc | get_linear_limit () const |
float | get_projection_angle () const |
float | get_projection_distance () const |
PhysxProjectionMode | get_projection_mode () const |
PhysxJointDriveDesc | get_slerp_drive () const |
PhysxJointLimitSoftDesc | get_swing1_limit () const |
PhysxD6JointMotion | get_swing1_motion () const |
PhysxJointLimitSoftDesc | get_swing2_limit () const |
PhysxD6JointMotion | get_swing2_motion () const |
PhysxJointDriveDesc | get_swing_drive () const |
PhysxJointDriveDesc | get_twist_drive () const |
PhysxJointLimitSoftDesc | get_twist_limit_high () const |
PhysxJointLimitSoftDesc | get_twist_limit_low () const |
PhysxD6JointMotion | get_twist_motion () const |
PhysxJointDriveDesc | get_x_drive () const |
PhysxD6JointMotion | get_x_motion () const |
PhysxJointDriveDesc | get_y_drive () const |
PhysxD6JointMotion | get_y_motion () const |
PhysxJointDriveDesc | get_z_drive () const |
PhysxD6JointMotion | get_z_motion () const |
bool | is_valid () const |
Returns true if the descriptor is valid. | |
NxJointDesc * | ptr () const |
void | set_drive_angular_velocity (const LVector3f &v) |
void | set_drive_linear_velocity (const LVector3f &v) |
void | set_drive_orientation (const LQuaternionf &quat) |
void | set_drive_position (const LPoint3f &pos) |
void | set_flag (PhysxD6JointFlag flag, bool value) |
Sets or clears a single D6JointFlag flag. | |
void | set_gear_ratio (float ratio) |
void | set_linear_limit (const PhysxJointLimitSoftDesc &limit) |
void | set_projection_angle (float angle) |
void | set_projection_distance (float distance) |
void | set_projection_mode (PhysxProjectionMode mode) |
Use this to enable joint projection. | |
void | set_slerp_drive (const PhysxJointDriveDesc &drive) |
void | set_swing1_limit (const PhysxJointLimitSoftDesc &limit) |
void | set_swing1_motion (PhysxD6JointMotion xMotion) |
void | set_swing2_limit (const PhysxJointLimitSoftDesc &limit) |
void | set_swing2_motion (PhysxD6JointMotion yMotion) |
void | set_swing_drive (const PhysxJointDriveDesc &drive) |
void | set_to_default () |
(re)sets the structure to the default. | |
void | set_twist_drive (const PhysxJointDriveDesc &drive) |
void | set_twist_limit_high (const PhysxJointLimitSoftDesc &limit) |
void | set_twist_limit_low (const PhysxJointLimitSoftDesc &limit) |
void | set_twist_motion (PhysxD6JointMotion zMotion) |
void | set_x_drive (const PhysxJointDriveDesc &drive) |
void | set_x_motion (PhysxD6JointMotion xMotion) |
void | set_y_drive (const PhysxJointDriveDesc &drive) |
void | set_y_motion (PhysxD6JointMotion yMotion) |
void | set_z_drive (const PhysxJointDriveDesc &drive) |
void | set_z_motion (PhysxD6JointMotion zMotion) |
Public Attributes | |
NxD6JointDesc | _desc |
Definition at line 31 of file physxD6JointDesc.h.
bool PhysxD6JointDesc::is_valid | ( | ) | const [inline, virtual] |
Returns true if the descriptor is valid.
Implements PhysxJointDesc.
Definition at line 56 of file physxD6JointDesc.I.
void PhysxD6JointDesc::set_flag | ( | PhysxD6JointFlag | flag, |
bool | value | ||
) |
Sets or clears a single D6JointFlag flag.
Definition at line 158 of file physxD6JointDesc.cxx.
void PhysxD6JointDesc::set_projection_mode | ( | PhysxProjectionMode | mode | ) |
Use this to enable joint projection.
Default is PM_none.
Definition at line 310 of file physxD6JointDesc.cxx.
void PhysxD6JointDesc::set_to_default | ( | ) | [inline, virtual] |
(re)sets the structure to the default.
Implements PhysxJointDesc.
Definition at line 44 of file physxD6JointDesc.I.
References PhysxJointDesc::set_name().