Base class for game-time generic joint components.
More...
#include <JointComponent.h>
Inherits AZ::Component, Physics::RigidBodyNotificationBus::MultiHandler, and AZ::TickBus::Handler.
Inherited by PhysX::BallJointComponent, PhysX::FixedJointComponent, PhysX::HingeJointComponent, and PhysX::PrismaticJointComponent.
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
void | Activate () override |
|
void | Deactivate () override |
|
void | OnPhysicsEnabled (const AZ::EntityId &entityId) override |
|
void | OnPhysicsDisabled (const AZ::EntityId &entityId) override |
|
void | CreateNativeJoint () |
|
void | DestroyNativeJoint () |
|
virtual void | InitNativeJoint () |
|
virtual void | DeinitNativeJoint () |
|
void | OnTick (float deltaTime, AZ::ScriptTimePoint time) override |
|
AZ::Transform | GetJointLocalPose (const physx::PxRigidActor *actor, const AZ::Transform &jointPose) |
|
AZ::Transform | GetJointTransform (AZ::EntityId entityId, const JointComponentConfiguration &jointConfig) |
|
void | ObtainLeadFollowerInfo (LeadFollowerInfo &leadFollowerInfo) |
|
void | WarnInvalidJointSetup (AZ::EntityId entityId, const AZStd::string &message) |
| Issues warnings for invalid scenarios when initializing a joint from entity IDs.
|
|
void | PrintJointSetupMessage (AZ::EntityId entityId, const AZStd::string &message) |
| Issues info messages for potentially invalid scenarios when initializing a joint from entity IDs.
|
|
Base class for game-time generic joint components.
◆ ObtainLeadFollowerInfo()
void PhysX::JointComponent::ObtainLeadFollowerInfo |
( |
LeadFollowerInfo & |
leadFollowerInfo | ) |
|
|
protected |
Used on initialization by sub-classes to get native pointers from entity IDs. This allows sub-classes to instantiate specific native types. This base class does not need knowledge of any specific joint type.
The documentation for this class was generated from the following file:
- Gems/PhysX/Code/Source/JointComponent.h