Inherits AzPhysics::JointConfiguration.
|
| AZ_CLASS_ALLOCATOR (D6JointLimitConfiguration, AZ::SystemAllocator) |
|
| AZ_RTTI (D6JointLimitConfiguration, "{88E067B4-21E8-4FFA-9142-6C52605B704C}", AzPhysics::JointConfiguration) |
|
AZStd::optional< float > | GetPropertyValue ([[maybe_unused]] const AZ::Name &propertyName) override |
|
void | SetPropertyValue ([[maybe_unused]] const AZ::Name &propertyName, [[maybe_unused]] float value) override |
|
|
void | ValidateSwingLimitY () |
|
void | ValidateSwingLimitZ () |
|
void | ValidateTwistLimits () |
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
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.
|
|
◆ ValidateSwingLimitY()
void PhysX::D6JointLimitConfiguration::ValidateSwingLimitY |
( |
| ) |
|
Ensure limit settings are valid.
The documentation for this struct was generated from the following file:
- Gems/PhysX/Core/Code/Include/PhysX/Joint/Configuration/PhysXJointConfiguration.h