Configuration used to Add Articulations to a Scene. More...
#include <ArticulationLinkConfiguration.h>
Inherits AzPhysics::SimulatedBodyConfiguration.
Inherited by PhysX::EditorArticulationLinkConfiguration.
Public Types | |
| enum class | DisplaySetupState : AZ::u8 { Never = 0 , Selected , Always } |
Public Member Functions | |
| AZ_RTTI (ArticulationLinkConfiguration, "{56268154-037A-4BB2-A7EE-E1E76B7D2F8E}", AzPhysics::SimulatedBodyConfiguration) | |
| bool | IsNotRootArticulation () const |
| bool | HingePropertiesVisible () const |
| bool | PrismaticPropertiesVisible () const |
| bool | IsSingleDofJointType () const |
Static Public Member Functions | |
| static void | Reflect (AZ::ReflectContext *context) |
Public Attributes | |
| AZ_CLASS_ALLOCATOR_DECL | |
| bool | m_isFixedBase = false |
| bool | m_selfCollide = false |
| AZ::Vector3 | m_centerOfMassOffset = AZ::Vector3::CreateZero() |
| float | m_mass = 1.0f |
| float | m_linearDamping = 0.05f |
| float | m_angularDamping = 0.15f |
| float | m_sleepMinEnergy = 0.005f |
| float | m_maxAngularVelocity = 100.0f |
| bool | m_startAsleep = false |
| bool | m_gravityEnabled = true |
| AZ::u8 | m_solverPositionIterations = 4 |
| Higher values can improve stability at the cost of performance. | |
| AZ::u8 | m_solverVelocityIterations = 1 |
| Higher values can improve stability at the cost of performance. | |
| ArticulationJointType | m_articulationJointType = ArticulationJointType::Fix |
| bool | m_fixJointLocation = false |
| bool | m_isLimited = true |
| Indicates if this joint has limits, e.g. maximum swing angles. | |
| float | m_linearLimitLower = -1.0f |
| float | m_linearLimitUpper = 1.0f |
| float | m_angularLimitPositive = 45.0f |
| float | m_angularLimitNegative = -45.0f |
| float | m_jointFriction = 0.f |
| AZ::Vector3 | m_armature = AZ::Vector3::CreateZero() |
| ArticulationJointMotorProperties | m_motorConfiguration |
| AZ::Vector3 | m_localPosition = AZ::Vector3::CreateZero() |
| AZ::Vector3 | m_localRotation |
| Local rotation angles about X, Y, Z axes in degrees, relative to follower body. | |
| bool | m_autoCalculateLeadFrame = true |
| AZ::Vector3 | m_leadLocalPosition = AZ::Vector3::CreateZero() |
| AZ::Vector3 | m_LeadLocalRotation |
| Local rotation angles about X, Y, Z axes in degrees, relative to lead body. | |
| AZStd::vector< ArticulationSensorConfiguration > | m_sensorConfigs |
| DisplaySetupState | m_displayJointSetup = DisplaySetupState::Selected |
| bool | m_isRootArticulation = false |
Configuration used to Add Articulations to a Scene.
| AZ::Vector3 PhysX::ArticulationLinkConfiguration::m_LeadLocalRotation |
Local rotation angles about X, Y, Z axes in degrees, relative to lead body.
| AZ::Vector3 PhysX::ArticulationLinkConfiguration::m_localRotation |
Local rotation angles about X, Y, Z axes in degrees, relative to follower body.