Panda3D

Public Member Functions | Public Attributes | List of all members
PhysxMotorDesc Class Reference

Describes a joint motor. More...

`#include "physxMotorDesc.h"`

## Public Member Functions
| PhysxMotorDesc (float velTarget, float maxForce=0, bool freeSpin=0)
bool | get_free_spin () const
float | get_max_force () const
float | get_vel_target () const
void | set_free_spin (bool freeSpin)
void | set_max_force (float maxForce)
void | set_vel_target (float velTarget)

## Public Attributes
NxMotorDesc | _desc

## Detailed Description

Describes a joint motor.

Some joints can be motorized, this allows them to apply a force to cause attached actors to move. Joints which can be motorized: - PhysxPulleyJoint - PhysxRevoluteJoint

Definition at line 26 of file physxMotorDesc.h.

The documentation for this class was generated from the following files:

- panda/src/physx/physxMotorDesc.h
- panda/src/physx/physxMotorDesc.cxx
- panda/src/physx/physxMotorDesc.I