Open 3D Engine PhysX Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
PhysX::ArticulationSensorRequests Class Referenceabstract

Interface to communicate with a sensor in a PhysX reduced co-ordinate articulation. More...

#include <ArticulationSensorBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

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
 

Detailed Description

Interface to communicate with a sensor in a PhysX reduced co-ordinate articulation.

Member Function Documentation

◆ 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: