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.
AzPhysics::JointConfiguration Struct Reference

Base Class of all Physics Joints that will be simulated. More...

#include <JointConfiguration.h>

Public Types

enum  PropertyVisibility : AZ::u8 {
  ParentLocalRotation = 1 << 0 , ParentLocalPosition = 1 << 1 , ChildLocalRotation = 1 << 2 , ChildLocalPosition = 1 << 3 ,
  StartSimulationEnabled = 1 << 4
}
 

Public Member Functions

 AZ_RTTI (AzPhysics::JointConfiguration, "{DF91D39A-4901-48C4-9159-93FD2ACA5252}")
 
AZ::Crc32 GetPropertyVisibility (PropertyVisibility property) const
 
void SetPropertyVisibility (PropertyVisibility property, bool isVisible)
 
AZ::Crc32 GetParentLocalRotationVisibility () const
 
AZ::Crc32 GetParentLocalPositionVisibility () const
 
AZ::Crc32 GetChildLocalRotationVisibility () const
 
AZ::Crc32 GetChildLocalPositionVisibility () const
 
AZ::Crc32 GetStartSimulationEnabledVisibility () const
 
virtual AZStd::optional< float > GetPropertyValue (const AZ::Name &propertyName)
 
virtual void SetPropertyValue (const AZ::Name &propertyName, float value)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

 AZ_CLASS_ALLOCATOR_DECL
 
void * m_customUserData = nullptr
 
AZ::Quaternion m_parentLocalRotation = AZ::Quaternion::CreateIdentity()
 Parent joint frame relative to parent body.
 
AZ::Vector3 m_parentLocalPosition = AZ::Vector3::CreateZero()
 Joint position relative to parent body.
 
AZ::Quaternion m_childLocalRotation = AZ::Quaternion::CreateIdentity()
 Child joint frame relative to child body.
 
AZ::Vector3 m_childLocalPosition = AZ::Vector3::CreateZero()
 Joint position relative to child body.
 
bool m_startSimulationEnabled = true
 
AZStd::string m_debugName
 
AZ::u8 m_propertyVisibilityFlags = 0
 

Detailed Description

Base Class of all Physics Joints that will be simulated.

Member Enumeration Documentation

◆ PropertyVisibility

Enumerator
ParentLocalRotation 

Whether the parent local rotation is visible.

ParentLocalPosition 

Whether the parent local position is visible.

ChildLocalRotation 

Whether the child local rotation is visible.

ChildLocalPosition 

Whether the child local position is visible.

StartSimulationEnabled 

Whether the start simulation enabled setting is visible.


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