Interface to communicate with a sensor in a PhysX reduced co-ordinate articulation.
More...
#include <ArticulationSensorBus.h>
Inherits AZ::ComponentBus.
|
virtual AZ::Transform | GetSensorTransform (AZ::u32 sensorIndex) const =0 |
|
virtual void | SetSensorTransform (AZ::u32 sensorIndex, const AZ::Transform &sensorTransform)=0 |
|
virtual AZ::Vector3 | GetForce (AZ::u32 sensorIndex) const =0 |
|
virtual AZ::Vector3 | GetTorque (AZ::u32 sensorIndex) const =0 |
|
Interface to communicate with a sensor in a PhysX reduced co-ordinate articulation.
◆ GetForce()
virtual AZ::Vector3 PhysX::ArticulationSensorRequests::GetForce |
( |
AZ::u32 |
sensorIndex | ) |
const |
|
pure virtual |
Get the force reported by the sensor. The sensor index is per-link, and differs from the per-actuation indices used internally by PhysX.
◆ GetSensorTransform()
virtual AZ::Transform PhysX::ArticulationSensorRequests::GetSensorTransform |
( |
AZ::u32 |
sensorIndex | ) |
const |
|
pure virtual |
Get the transform of the sensor relative to the body frame of the link it is attached to. The sensor index is per-link, and differs from the per-actuation indices used internally by PhysX.
◆ GetTorque()
virtual AZ::Vector3 PhysX::ArticulationSensorRequests::GetTorque |
( |
AZ::u32 |
sensorIndex | ) |
const |
|
pure virtual |
Get the torque reported by the sensor. The sensor index is per-link, and differs from the per-actuation indices used internally by PhysX.
◆ SetSensorTransform()
virtual void PhysX::ArticulationSensorRequests::SetSensorTransform |
( |
AZ::u32 |
sensorIndex, |
|
|
const AZ::Transform & |
sensorTransform |
|
) |
| |
|
pure virtual |
Set the transform of the sensor relative to the body frame of the link it is attached to. The sensor index is per-link, and differs from the per-actuation indices used internally by PhysX.
The documentation for this class was generated from the following file:
- Gems/PhysX/Code/Include/PhysX/ArticulationSensorBus.h