Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FJointConstraint |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDJointConstraintData.h |
| Include Path | #include "Chaos/PBDJointConstraintData.h" |
Syntax
class FJointConstraint : public Chaos::FConstraintBase
Inheritance Hierarchy
- FConstraint → FJointConstraint
- FConstraintBase → FJointConstraint
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FJointConstraint() |
Chaos/PBDJointConstraintData.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FJointConstraint() |
Chaos/PBDJointConstraintData.h |
Structs
| Name | Remarks |
|---|---|
| FOutputData |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Base | FConstraintBase | Chaos/PBDJointConstraintData.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| KinematicEndPoint | FSingleParticlePhysicsProxy * | TODO: When we build constraint with only one actor, we spawn this particle to serve as kinematic endpoint to attach to, as Chaos requires two particles currently. | Chaos/PBDJointConstraintData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FReal GetAngularBreakTorque() |
|||
FVec3 GetAngularDriveDamping() |
|||
EJointForceMode GetAngularDriveForceMode() |
|||
FVec3 GetAngularDriveMaxTorque() |
|||
FRotation3 GetAngularDrivePositionTarget() |
|||
FVec3 GetAngularDriveStiffness() |
|||
FVec3 GetAngularDriveVelocityTarget() |
|||
FVec3 GetAngularLimits() |
|||
EJointMotionType GetAngularMotionTypesX() |
|||
EJointMotionType GetAngularMotionTypesY() |
|||
EJointMotionType GetAngularMotionTypesZ() |
|||
FReal GetAngularPlasticityLimit() |
|||
bool GetAngularSLerpPositionDriveEnabled() |
|||
bool GetAngularSLerpVelocityDriveEnabled() |
|||
EJointForceMode GetAngularSoftForceMode() |
|||
bool GetAngularSwingPositionDriveEnabled() |
|||
bool GetAngularSwingVelocityDriveEnabled() |
|||
bool GetAngularTwistPositionDriveEnabled() |
|||
bool GetAngularTwistVelocityDriveEnabled() |
|||
FReal GetAngularViolationCallbackThreshold() |
|||
bool GetCollisionEnabled() |
|||
FReal GetContactTransferScale() |
|||
const FPBDJointSettings & GetJointSettings() |
Chaos/PBDJointConstraintData.h | ||
FTransformPair GetJointTransforms() |
|||
FSingleParticlePhysicsProxy * GetKinematicEndPoint() |
Chaos/PBDJointConstraintData.h | ||
FReal GetLinearBreakForce() |
|||
FReal GetLinearContactDistance() |
|||
FVec3 GetLinearDriveDamping() |
|||
EJointForceMode GetLinearDriveForceMode() |
|||
FVec3 GetLinearDriveMaxForce() |
|||
FVec3 GetLinearDrivePositionTarget() |
|||
FVec3 GetLinearDriveStiffness() |
|||
FVec3 GetLinearDriveVelocityTarget() |
|||
FReal GetLinearLimit() |
|||
EJointMotionType GetLinearMotionTypesX() |
|||
EJointMotionType GetLinearMotionTypesY() |
|||
EJointMotionType GetLinearMotionTypesZ() |
|||
FReal GetLinearPlasticityLimit() |
|||
EPlasticityType GetLinearPlasticityType() |
|||
bool GetLinearPositionDriveXEnabled() |
|||
bool GetLinearPositionDriveYEnabled() |
|||
bool GetLinearPositionDriveZEnabled() |
|||
FReal GetLinearRestitution() |
|||
EJointForceMode GetLinearSoftForceMode() |
|||
bool GetLinearVelocityDriveXEnabled() |
|||
bool GetLinearVelocityDriveYEnabled() |
|||
bool GetLinearVelocityDriveZEnabled() |
|||
FReal GetLinearViolationCallbackThreshold() |
|||
bool GetMassConditioningEnabled() |
|||
FOutputData & GetOutputData() |
Chaos/PBDJointConstraintData.h | ||
FReal GetParentInvMassScale() |
|||
const FProxyBasePair & GetParticleProxies() |
Chaos/PBDJointConstraintData.h | ||
const FPhysicsObjectPair & GetPhysicsBodies() |
Chaos/PBDJointConstraintData.h | ||
FReal GetProjectionAngularAlpha() |
|||
FReal GetProjectionAngularTolerance() |
|||
bool GetProjectionEnabled() |
|||
FReal GetProjectionLinearAlpha() |
|||
FReal GetProjectionLinearTolerance() |
|||
FReal GetShockPropagationAlpha() |
|||
bool GetShockPropagationEnabled() |
|||
FReal GetSoftLinearDamping() |
|||
bool GetSoftLinearLimitsEnabled() |
|||
FReal GetSoftLinearStiffness() |
|||
FReal GetSoftSwingDamping() |
|||
bool GetSoftSwingLimitsEnabled() |
|||
FReal GetSoftSwingStiffness() |
|||
FReal GetSoftTwistDamping() |
|||
bool GetSoftTwistLimitsEnabled() |
|||
FReal GetSoftTwistStiffness() |
|||
FReal GetStiffness() |
|||
FReal GetSwingContactDistance() |
|||
FReal GetSwingRestitution() |
|||
FReal GetTwistContactDistance() |
|||
FReal GetTwistRestitution() |
|||
bool GetUseLinearSolver() |
|||
void * GetUserData() |
|||
void SetAngularBreakTorque
(
FReal InValue |
|||
void SetAngularDriveDamping
(
FVec3 InValue |
|||
void SetAngularDriveForceMode
(
EJointForceMode InValue |
|||
void SetAngularDriveMaxTorque
(
FVec3 InValue |
|||
void SetAngularDrivePositionTarget
(
FRotation3 InValue |
|||
void SetAngularDriveStiffness
(
FVec3 InValue |
|||
void SetAngularDriveVelocityTarget
(
FVec3 InValue |
|||
void SetAngularLimits
(
FVec3 InValue |
|||
void SetAngularMotionTypesX
(
EJointMotionType InValue |
|||
void SetAngularMotionTypesY
(
EJointMotionType InValue |
|||
void SetAngularMotionTypesZ
(
EJointMotionType InValue |
|||
void SetAngularPlasticityLimit
(
FReal InValue |
|||
void SetAngularSLerpPositionDriveEnabled
(
bool InValue |
|||
void SetAngularSLerpVelocityDriveEnabled
(
bool InValue |
|||
void SetAngularSoftForceMode
(
EJointForceMode InValue |
|||
void SetAngularSwingPositionDriveEnabled
(
bool InValue |
|||
void SetAngularSwingVelocityDriveEnabled
(
bool InValue |
|||
void SetAngularTwistPositionDriveEnabled
(
bool InValue |
|||
void SetAngularTwistVelocityDriveEnabled
(
bool InValue |
|||
void SetAngularViolationCallbackThreshold
(
FReal InValue |
|||
void SetCollisionEnabled
(
bool InValue |
|||
void SetContactTransferScale
(
FReal InValue |
|||
void SetJointSettings
(
const FPBDJointSettings& NewSettings |
Chaos/PBDJointConstraintData.h | ||
void SetJointTransforms
(
FTransformPair InValue |
CHAOS_INNER_JOINT_PROPERTY(OuterProp, FuncName, InnerName, InnerType) | ||
void SetKinematicEndPoint
(
FSingleParticlePhysicsProxy* InParticle, |
If we created particle to serve as kinematic endpoint, track so we can release later. This will add particle to solver. | Chaos/PBDJointConstraintData.h | |
void SetLinearBreakForce
(
FReal InValue |
|||
void SetLinearContactDistance
(
FReal InValue |
|||
void SetLinearDriveDamping
(
FVec3 InValue |
|||
void SetLinearDriveForceMode
(
EJointForceMode InValue |
|||
void SetLinearDriveMaxForce
(
FVec3 InValue |
|||
void SetLinearDrivePositionTarget
(
FVec3 InValue |
|||
void SetLinearDriveStiffness
(
FVec3 InValue |
|||
void SetLinearDriveVelocityTarget
(
FVec3 InValue |
|||
void SetLinearLimit
(
FReal InValue |
|||
void SetLinearMotionTypesX
(
EJointMotionType InValue |
|||
void SetLinearMotionTypesY
(
EJointMotionType InValue |
|||
void SetLinearMotionTypesZ
(
EJointMotionType InValue |
|||
void SetLinearPlasticityLimit
(
FReal InValue |
|||
void SetLinearPlasticityType
(
EPlasticityType InValue |
|||
void SetLinearPositionDriveEnabled
(
TVector< bool, 3 > Enabled |
Chaos/PBDJointConstraintData.h | ||
void SetLinearPositionDriveXEnabled
(
bool InValue |
|||
void SetLinearPositionDriveYEnabled
(
bool InValue |
|||
void SetLinearPositionDriveZEnabled
(
bool InValue |
|||
void SetLinearRestitution
(
FReal InValue |
|||
void SetLinearSoftForceMode
(
EJointForceMode InValue |
|||
void SetLinearVelocityDriveEnabled
(
TVector< bool, 3 > Enabled |
Chaos/PBDJointConstraintData.h | ||
void SetLinearVelocityDriveXEnabled
(
bool InValue |
|||
void SetLinearVelocityDriveYEnabled
(
bool InValue |
|||
void SetLinearVelocityDriveZEnabled
(
bool InValue |
|||
void SetLinearViolationCallbackThreshold
(
FReal InValue |
|||
void SetMassConditioningEnabled
(
bool InValue |
|||
void SetParentInvMassScale
(
FReal InValue |
|||
void SetParticleProxies
(
const FProxyBasePair& InJointParticles |
Chaos/PBDJointConstraintData.h | ||
void SetPhysicsBodies
(
const FPhysicsObjectPair& InBodies |
Chaos/PBDJointConstraintData.h | ||
void SetProjectionAngularAlpha
(
FReal InValue |
|||
void SetProjectionAngularTolerance
(
FReal InValue |
|||
void SetProjectionEnabled
(
bool InValue |
|||
void SetProjectionLinearAlpha
(
FReal InValue |
|||
void SetProjectionLinearTolerance
(
FReal InValue |
|||
void SetShockPropagationAlpha
(
FReal InValue |
|||
void SetShockPropagationEnabled
(
bool InValue |
|||
void SetSoftLinearDamping
(
FReal InValue |
|||
void SetSoftLinearLimitsEnabled
(
bool InValue |
|||
void SetSoftLinearStiffness
(
FReal InValue |
|||
void SetSoftSwingDamping
(
FReal InValue |
|||
void SetSoftSwingLimitsEnabled
(
bool InValue |
|||
void SetSoftSwingStiffness
(
FReal InValue |
|||
void SetSoftTwistDamping
(
FReal InValue |
|||
void SetSoftTwistLimitsEnabled
(
bool InValue |
|||
void SetSoftTwistStiffness
(
FReal InValue |
|||
void SetStiffness
(
FReal InValue |
|||
void SetSwingContactDistance
(
FReal InValue |
|||
void SetSwingRestitution
(
FReal InValue |
|||
void SetTwistContactDistance
(
FReal InValue |
|||
void SetTwistRestitution
(
FReal InValue |
|||
void SetUseLinearSolver
(
bool InValue |
|||
void SetUserData
(
void* InValue |
Overridden from FConstraintBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SyncRemoteDataImp
(
FDirtyPropertiesManager& Manager, |
Chaos/PBDJointConstraintData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ReleaseKinematicEndPoint
(
FPBDRigidsSolver* Solver |
Chaos/PBDJointConstraintData.h |