Open 3D Engine PhysX Gem 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.
PhysX::D6JointLimitConfiguration Struct Reference

Inherits AzPhysics::JointConfiguration.

Public Member Functions

 AZ_CLASS_ALLOCATOR (D6JointLimitConfiguration, AZ::SystemAllocator)
 
 AZ_RTTI (D6JointLimitConfiguration, "{88E067B4-21E8-4FFA-9142-6C52605B704C}", AzPhysics::JointConfiguration)
 
AZStd::optional< float > GetPropertyValue (const AZ::Name &propertyName) override
 
void SetPropertyValue (const AZ::Name &propertyName, float value) override
 
void ValidateSwingLimitY ()
 
void ValidateSwingLimitZ ()
 
void ValidateTwistLimits ()
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

float m_swingLimitY = 45.0f
 Maximum angle in degrees from the Y axis of the joint frame.
 
float m_swingLimitZ = 45.0f
 Maximum angle in degrees from the Z axis of the joint frame.
 
float m_twistLimitLower = -45.0f
 Lower limit in degrees for rotation about the X axis of the joint frame.
 
float m_twistLimitUpper = 45.0f
 Upper limit in degrees for rotation about the X axis of the joint frame.
 

Member Function Documentation

◆ ValidateSwingLimitY()

void PhysX::D6JointLimitConfiguration::ValidateSwingLimitY ( )

Ensure limit settings are valid.


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