Properties that are common for several types of joints.
More...
#include <PhysXJointConfiguration.h>
|
enum class | GenericJointFlag : AZ::u16 { None = 0
, Breakable = 1
, SelfCollide = 1 << 1
} |
|
|
| AZ_CLASS_ALLOCATOR (JointGenericProperties, AZ::SystemAllocator) |
|
| AZ_TYPE_INFO (JointGenericProperties, "{6CB15399-24F6-4F03-AAEF-1AE013B683E0}") |
|
| JointGenericProperties (GenericJointFlag flags, float forceMax, float torqueMax) |
|
bool | IsFlagSet (GenericJointFlag flag) const |
| Returns if a particular flag is set as a bool.
|
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
GenericJointFlag | m_flags = GenericJointFlag::None |
|
float | m_forceMax = 1.0f |
| Max force joint can tolerate before breaking.
|
|
float | m_torqueMax = 1.0f |
| Max torque joint can tolerate before breaking.
|
|
Properties that are common for several types of joints.
◆ m_flags
GenericJointFlag PhysX::JointGenericProperties::m_flags = GenericJointFlag::None |
Flags that indicates if joint is breakable, self-colliding, etc. Converting joint between breakable/non-breakable at game time is allowed.
The documentation for this struct was generated from the following file:
- Gems/PhysX/Code/Include/PhysX/Joint/Configuration/PhysXJointConfiguration.h