|
Open 3D Engine ROS2 Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <MotorizedJointComponent.h>
Inherits Component, Handler, and Handler.
Public Member Functions | |
| AZ_COMPONENT (MotorizedJointComponent,"{AE9207DB-5B7E-4F70-A7DD-C4EAD8DD9403}", AZ::Component) | |
| void | Activate () override |
| void | Deactivate () override |
| void | SetSetpoint (float setpoint) override |
| float | GetSetpoint () override |
| float | GetError () override |
| float | GetCurrentMeasurement () override |
| AZ::Vector3 | GetDir () const |
Static Public Member Functions | |
| static void | Reflect (AZ::ReflectContext *context) |
A prototype component for simulated joint with a motor. It works with either TransformBus or RigidBodyBus. TransformBus mode, called AnimationMode changes local transform. In this mode, you cannot have a rigid body controller enabled. With RigidBodyBus it applies forces and torque according to PID control.
|
inline |
Get a degree of freedom direction.