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

Requests interface for a rigid body (static or dynamic). More...

#include <RigidBodyBus.h>

Inherits AZ::ComponentBus.

Public Types

using MutexType = AZStd::recursive_mutex
 

Public Member Functions

virtual void EnablePhysics ()=0
 
virtual void DisablePhysics ()=0
 
virtual bool IsPhysicsEnabled () const =0
 
virtual AZ::Vector3 GetCenterOfMassWorld () const =0
 
virtual AZ::Vector3 GetCenterOfMassLocal () const =0
 
virtual AZ::Matrix3x3 GetInertiaWorld () const =0
 
virtual AZ::Matrix3x3 GetInertiaLocal () const =0
 
virtual AZ::Matrix3x3 GetInverseInertiaWorld () const =0
 
virtual AZ::Matrix3x3 GetInverseInertiaLocal () const =0
 
virtual float GetMass () const =0
 
virtual float GetInverseMass () const =0
 
virtual void SetMass (float mass)=0
 
virtual void SetCenterOfMassOffset (const AZ::Vector3 &comOffset)=0
 
virtual AZ::Vector3 GetLinearVelocity () const =0
 
virtual void SetLinearVelocity (const AZ::Vector3 &velocity)=0
 
virtual AZ::Vector3 GetAngularVelocity () const =0
 
virtual void SetAngularVelocity (const AZ::Vector3 &angularVelocity)=0
 
virtual AZ::Vector3 GetLinearVelocityAtWorldPoint (const AZ::Vector3 &worldPoint) const =0
 
virtual void ApplyLinearImpulse (const AZ::Vector3 &impulse)=0
 
virtual void ApplyLinearImpulseAtWorldPoint (const AZ::Vector3 &impulse, const AZ::Vector3 &worldPoint)=0
 
virtual void ApplyAngularImpulse (const AZ::Vector3 &angularImpulse)=0
 
virtual float GetLinearDamping () const =0
 
virtual void SetLinearDamping (float damping)=0
 
virtual float GetAngularDamping () const =0
 
virtual void SetAngularDamping (float damping)=0
 
virtual bool IsAwake () const =0
 
virtual void ForceAsleep ()=0
 
virtual void ForceAwake ()=0
 
virtual float GetSleepThreshold () const =0
 
virtual void SetSleepThreshold (float threshold)=0
 
virtual bool IsKinematic () const =0
 
virtual void SetKinematic (bool kinematic)=0
 
virtual void SetKinematicTarget (const AZ::Transform &targetPosition)=0
 
virtual bool IsGravityEnabled () const =0
 
virtual void SetGravityEnabled (bool enabled)=0
 
virtual void SetSimulationEnabled (bool enabled)=0
 
virtual AZ::Aabb GetAabb () const =0
 
virtual AzPhysics::RigidBodyGetRigidBody ()=0
 
virtual AzPhysics::SceneQueryHit RayCast (const AzPhysics::RayCastRequest &request)=0
 

Detailed Description

Requests interface for a rigid body (static or dynamic).


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