FJointConstraint

Windows
MacOS
Linux

Inheritance Hierarchy

FConstraintBase

FJointConstraint

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDJointConstraintData.h

Include

#include "Chaos/PBDJointConstraintData.h"

Syntax

class FJointConstraint : public Chaos::FConstraintBase

Variables

Name Description

Public variable

friend

 

FData

Protected variable

FData

 

JointSettings

Protected variable

FTransformPair

 

JointTransforms

Protected variable

FJointConstrain...

 

MDirtyFlags

Protected variable

FOutputData

 

Output

Protected variable

void *

 

UserData

Constructors

Name Description

Public function

FJointConstraint()

Destructors

Name Description

Public function Virtual

~FJointConstraint()

Functions

Name Description

Public function

void

 

ClearDirtyFlags()

Public function Const

FReal

 

GetAngularBreakTorque()

Public function Const

FReal

 

GetAngularDriveDamping()

Public function Const

EJointForceM...

 

GetAngularDriveForceMode()

Public function Const

FRotation3

 

GetAngularDrivePositionTarget()

Public function Const

FReal

 

GetAngularDriveStiffness()

Public function Const

FVec3

 

GetAngularDriveVelocityTarget()

Public function Const

FVec3

 

GetAngularLimits()

Public function Const

EJointMotion...

 

GetAngularMotionTypesX()

Public function Const

EJointMotion...

 

GetAngularMotionTypesY()

Public function Const

EJointMotion...

 

GetAngularMotionTypesZ()

Public function Const

FReal

 

GetAngularPlasticityLimit()

Public function Const

bool

 

GetAngularSLerpPositionDriveEnabled()

Public function Const

bool

 

GetAngularSLerpVelocityDriveEnabled()

Public function Const

EJointForceM...

 

GetAngularSoftForceMode()

Public function Const

bool

 

GetAngularSwingPositionDriveEnabled()

Public function Const

bool

 

GetAngularSwingVelocityDriveEnabled()

Public function Const

bool

 

GetAngularTwistPositionDriveEnabled()

Public function Const

bool

 

GetAngularTwistVelocityDriveEnabled()

Public function Const

bool

 

GetCollisionEnabled()

Public function Const

const FData ...

 

GetJointSettings()

Public function

FTransformPa...

 

GetJointTransforms()

Public function Const

const FTrans...

 

GetJointTransforms()

Public function Const

FReal

 

GetLinearBreakForce()

Public function Const

FReal

 

GetLinearContactDistance()

Public function Const

FReal

 

GetLinearDriveDamping()

Public function Const

EJointForceM...

 

GetLinearDriveForceMode()

Public function Const

FVec3

 

GetLinearDrivePositionTarget()

Public function Const

FReal

 

GetLinearDriveStiffness()

Public function Const

FVec3

 

GetLinearDriveVelocityTarget()

Public function Const

FReal

 

GetLinearLimit()

Public function Const

EJointMotion...

 

GetLinearMotionTypesX()

Public function Const

EJointMotion...

 

GetLinearMotionTypesY()

Public function Const

EJointMotion...

 

GetLinearMotionTypesZ()

Public function Const

FReal

 

GetLinearPlasticityLimit()

Public function Const

bool

 

GetLinearPositionDriveXEnabled()

Public function Const

bool

 

GetLinearPositionDriveYEnabled()

Public function Const

bool

 

GetLinearPositionDriveZEnabled()

Public function Const

FReal

 

GetLinearRestitution()

Public function Const

EJointForceM...

 

GetLinearSoftForceMode()

Public function Const

bool

 

GetLinearVelocityDriveXEnabled()

Public function Const

bool

 

GetLinearVelocityDriveYEnabled()

Public function Const

bool

 

GetLinearVelocityDriveZEnabled()

Public function

FOutputData ...

 

GetOutputData()

Public function Const

FReal

 

GetParentInvMassScale()

Public function Const

FReal

 

GetProjectionAngularAlpha()

Public function Const

bool

 

GetProjectionEnabled()

Public function Const

FReal

 

GetProjectionLinearAlpha()

Public function Const

FReal

 

GetSoftLinearDamping()

Public function Const

bool

 

GetSoftLinearLimitsEnabled()

Public function Const

FReal

 

GetSoftLinearStiffness()

Public function Const

FReal

 

GetSoftSwingDamping()

Public function Const

bool

 

GetSoftSwingLimitsEnabled()

Public function Const

FReal

 

GetSoftSwingStiffness()

Public function Const

FReal

 

GetSoftTwistDamping()

Public function Const

bool

 

GetSoftTwistLimitsEnabled()

Public function Const

FReal

 

GetSoftTwistStiffness()

Public function Const

FReal

 

GetStiffness()

Public function Const

FReal

 

GetSwingContactDistance()

Public function Const

FReal

 

GetSwingRestitution()

Public function Const

FReal

 

GetTwistContactDistance()

Public function Const

FReal

 

GetTwistRestitution()

Public function Const

void *

 

GetUserData()

Public function Const

bool

 

IsDirty

(
    const EJointConstraintFlags CheckBi...
)

Public function Const

bool

 

IsDirty()

Protected function

void

 

ReleaseKinematicEndPoint

(
    FPBDRigidsSolver* Solver
)

Public function

void

 

SetAngularBreakTorque

(
    FReal InValue
)

Void SetLinearPlasticityLimit(FReal InLinearPlasticityLimit); FReal GetLinearPlasticityLimit() const

Public function

void

 

SetAngularDriveDamping

(
    FReal InValue
)

Void SetAngularDriveStiffness(FReal InAngularDriveStiffness); FReal GetAngularDriveStiffness() const

Public function

void

 

SetAngularDriveForceMode

(
    EJointForceMode InValue
)

Void SetAngularDriveVelocityTarget(FVec3 InAngularDriveVelocityTarget); FVec3 GetAngularDriveVelocityTarget() const

Public function

void

 

SetAngularDrivePositionTarget

(
    FRotation3 InValue
)

Void SetAngularSwingPositionDriveEnabled(bool InAngularSwingPositionDriveEnabled); bool GetAngularSwingPositionDriveEnabled() const

Public function

void

 

SetAngularDriveStiffness

(
    FReal InValue
)

Void SetAngularMotionTypesZ(EJointMotionType AngularMotionTypesZ); EJointMotionType GetAngularMotionTypesZ() const

Public function

void

 

SetAngularDriveVelocityTarget

(
    FVec3 InValue
)

Void SetAngularSwingVelocityDriveEnabled(bool InAngularSwingVelocityDriveEnabled); bool GetAngularSwingVelocityDriveEnabled() const

Public function

void

 

SetAngularLimits

(
    FVec3 InValue
)

Void SetLinearLimit(FReal InLinearLimit); FReal GetLinearLimit() const

Public function

void

 

SetAngularMotionTypesX

(
    EJointMotionType InValue
)

Void SetAngularDriveForceMode(EJointForceMode InAngularDriveForceMode); EJointForceMode GetAngularDriveForceMode() const

Public function

void

 

SetAngularMotionTypesY

(
    EJointMotionType InValue
)

Void SetAngularMotionTypesX(EJointMotionType InAngularMotionTypesX); EJointMotionType GetAngularMotionTypesX() const

Public function

void

 

SetAngularMotionTypesZ

(
    EJointMotionType InValue
)

Void SetAngularMotionTypesY(EJointMotionType InAngularMotionTypesY); EJointMotionType GetAngularMotionTypesY() const

Public function

void

 

SetAngularPlasticityLimit

(
    FReal InValue
)

Void SetAngularBreakTorque(FReal InAngularBreakTorque); FReal GetAngularBreakTorque() const

Public function

void

 

SetAngularSLerpPositionDriveEnabled

(
    bool InValue
)

Void SetLinearDriveDamping(FReal InLinearDriveStffness); FReal GetLinearDriveDamping() const

Public function

void

 

SetAngularSLerpVelocityDriveEnabled

(
    bool InValue
)

Void SetAngularDrivePositionTarget(FRotation3 InAngularDrivePositionTarget); FRotation3 GetAngularDrivePositionTarget() const

Public function

void

 

SetAngularSoftForceMode

(
    EJointForceMode InValue
)

Void SetLinearSoftForceMode(FRealIn LinearSoftForceMode); EJointForceMode GetLinearSoftForceMode() const

Public function

void

 

SetAngularSwingPositionDriveEnabled

(
    bool InValue
)

Void SetAngularTwistPositionDriveEnabled(bool InAngularTwistPositionDriveEnabled); bool GetAngularTwistPositionDriveEnabled() const

Public function

void

 

SetAngularSwingVelocityDriveEnabled

(
    bool InValue
)

Void SetAngularTwistVelocityDriveEnabled(bool InAngularTwistVelocityDriveEnabled); bool GetAngularTwistVelocityDriveEnabled() const

Public function

void

 

SetAngularTwistPositionDriveEnabled

(
    bool InValue
)

Void SetAngularSLerpPositionDriveEnabled(bool InAngularSLerpPositionDriveEnabled); bool GetAngularSLerpPositionDriveEnabled() const

Public function

void

 

SetAngularTwistVelocityDriveEnabled

(
    bool InValue
)

Void SetAngularSLerpVelocityDriveEnabled(bool InAngularSLerpVelocityDriveEnabled); bool GetAngularSLerpVelocityDriveEnabled() const

Public function

void

 

SetCollisionEnabled

(
    bool InValue
)

Public function

void

 

SetJointTransforms

(
    const Chaos::FJointConstraint::FTra...
)

Public function

void

 

SetKinematicEndPoint

(
    FSingleParticlePhysicsProxy* I...,
    FPBDRigidsSolver* Solver
)

If we created particle to serve as kinematic endpoint, track so we can release later. This will add particle to solver.

Public function

void

 

SetLinearBreakForce

(
    FReal InValue
)

Void SetParentInvMassScale(FReal InParentInvMassScale); FReal GetParentInvMassScale() const

Public function

void

 

SetLinearContactDistance

(
    FReal InValue
)

Void SetAngularLimits(FVec3 AngularLimits); FVec3 GetAngularLimits() const

Public function

void

 

SetLinearDriveDamping

(
    FReal InValue
)

Void SetLinearDriveStiffness(FReal InLinearDriveStffness); FReal GetLinearDriveStiffness() const

Public function

void

 

SetLinearDriveForceMode

(
    EJointForceMode InValue
)

Void SetLinearDriveVelocityTarget(FVec3 InLinearDriveVelocityTarget); FVec3 GetLinearDriveVelocityTarget() const

Public function

void

 

SetLinearDrivePositionTarget

(
    FVec3 InValue
)

Void SetLinearPositionDriveZEnabled(bool InLinearPositionDriveZEnabled); bool GetLinearPositionDriveZEnabled() const

Public function

void

 

SetLinearDriveStiffness

(
    FReal InValue
)

Void SetLinearMotionTypesZ(EJointMotionType InLinearMotionTypesZ); EJointMotionType GetLinearMotionTypesZ() const

Public function

void

 

SetLinearDriveVelocityTarget

(
    FVec3 InValue
)

Void SetLinearVelocityDriveZEnabled(bool InLinearVelocityDriveZEnabled); bool GetLinearVelocityDriveZEnabled() const

Public function

void

 

SetLinearLimit

(
    FReal InValue
)

Void SetSoftSwingDamping(FReal InSoftSwingDamping); FReal GetSoftSwingDamping() const

Public function

void

 

SetLinearMotionTypesX

(
    EJointMotionType InValue
)

Void SetLinearDriveVelocityTarget(EJointForceMode InEJointForceMode); EJointForceMode GetLinearDriveVelocityTarget() const

Public function

void

 

SetLinearMotionTypesY

(
    EJointMotionType InValue
)

Void SetLinearMotionTypesX(EJointMotionType InLinearMotionTypesX); EJointMotionType GetLinearMotionTypesX() const

Public function

void

 

SetLinearMotionTypesZ

(
    EJointMotionType InValue
)

Void SetLinearMotionTypesY(EJointMotionType InLinearMotionTypesY); EJointMotionType GetLinearMotionTypesY() const

Public function

void

 

SetLinearPlasticityLimit

(
    FReal InValue
)

Void SetLinearBreakForce(FReal InLinearBreakForce); FReal GetLinearBreakForce() const

Public function

void

 

SetLinearPositionDriveEnabled

(
    TVector< bool, 3 > Enabled
)

Void SetUserData(void* InUserData); void* GetUserData() const

Public function

void

 

SetLinearPositionDriveXEnabled

(
    bool InValue
)

Public function

void

 

SetLinearPositionDriveYEnabled

(
    bool InValue
)

Void SetLinearPositionDriveXEnabled(bool InLinearPositionDriveXEnabled); bool GetLinearPositionDriveXEnabled() const

Public function

void

 

SetLinearPositionDriveZEnabled

(
    bool InValue
)

Void SetLinearPositionDriveYEnabled(bool InLinearPositionDriveYEnabled); bool GetLinearPositionDriveYEnabled() const

Public function

void

 

SetLinearRestitution

(
    FReal InValue
)

Void SetAngularSwingContactDistance(FReal InAngularSwingContactDistance); FReal GetAngularSwingContactDistance() const

Public function

void

 

SetLinearSoftForceMode

(
    EJointForceMode InValue
)

Void SetSoftSwingLimitsEnabled(FReal bInSoftSwingLimitsEnabled); bool GetSoftSwingLimitsEnabled() const

Public function

void

 

SetLinearVelocityDriveEnabled

(
    TVector< bool, 3 > Enabled
)

Void SetLinearDrivePositionTarget(FVec3 InLinearDrivePositionTarget); FVec3 GetLinearDrivePositionTarget() const

Public function

void

 

SetLinearVelocityDriveXEnabled

(
    bool InValue
)

Public function

void

 

SetLinearVelocityDriveYEnabled

(
    bool InValue
)

Void SetLinearVelocityDriveXEnabled(bool InLinearVelocityDriveXEnabled); bool GetLinearVelocityDriveXEnabled() const

Public function

void

 

SetLinearVelocityDriveZEnabled

(
    bool InValue
)

Void SetLinearVelocityDriveYEnabled(bool InLinearVelocityDriveYEnabled); bool GetLinearVelocityDriveYEnabled() const

Public function

void

 

SetParentInvMassScale

(
    FReal InValue
)

Void SetProjectionAngularAlpha(FReal InProjectionAngularAlpha); FReal GetProjectionAngularAlpha() const;

Public function

void

 

SetProjectionAngularAlpha

(
    FReal InValue
)

Void SetProjectionLinearAlpha(FReal InProjectionLinearAlpha); FReal GetProjectionLinearAlpha() const;

Public function

void

 

SetProjectionEnabled

(
    bool InValue
)

Void SetCollisionEnabled(bool InValue); bool GetCollisionEnabled() const;

Public function

void

 

SetProjectionLinearAlpha

(
    FReal InValue
)

Void SetProjectionEnabled(bool bInProjectionEnabled); bool GetProjectionEnabled() const;

Public function

void

 

SetSoftLinearDamping

(
    FReal InValue
)

Void SetSoftLinearStiffness(FReal InSoftLinearStiffness); FReal GetSoftLinearStiffness() const

Public function

void

 

SetSoftLinearLimitsEnabled

(
    bool InValue
)

Void SetStiffness(FReal Stiffness); FReal GetStiffness() const

Public function

void

 

SetSoftLinearStiffness

(
    FReal InValue
)

Void SetAngularSoftForceMode(FReal InAngularSoftForceMode); EJointForceMode GetAngularSoftForceMode() const

Public function

void

 

SetSoftSwingDamping

(
    FReal InValue
)

Void SetSoftSwingStiffness(FReal InSoftSwingStiffness); FReal GetSoftSwingStiffness() const

Public function

void

 

SetSoftSwingLimitsEnabled

(
    bool InValue
)

Void SetSoftTwistLimitsEnabled(FReal bInSoftTwistLimitsEnabled); bool GetSoftTwistLimitsEnabled() const

Public function

void

 

SetSoftSwingStiffness

(
    FReal InValue
)

Void SetSoftTwistDamping(FReal InSoftTwistDamping); FReal GetSoftTwistDamping() const

Public function

void

 

SetSoftTwistDamping

(
    FReal InValue
)

Void SetSoftTwistStiffness(FReal InSoftTwistStiffness); FReal GetSoftTwistStiffness() const

Public function

void

 

SetSoftTwistLimitsEnabled

(
    bool InValue
)

Void SetSoftLinearLimitsEnabled(bool bInSoftLinearLimitsEnabled); bool GetSoftLinearLimitsEnabled() const

Public function

void

 

SetSoftTwistStiffness

(
    FReal InValue
)

Void SetSoftLinearDamping(FReal InSoftLinearDamping); FReal GetSoftLinearDamping() const

Public function

void

 

SetStiffness

(
    FReal InValue
)

Void SetAngularDriveDamping(FReal InAngularDriveDamping); FReal GetAngularDriveDamping() const

Public function

void

 

SetSwingContactDistance

(
    FReal InValue
)

Void SetAngularTwistContactDistance(FReal InAngularTwistContactDistance); FReal GetAngularTwistContactDistance() const

Public function

void

 

SetSwingRestitution

(
    FReal InValue
)

Void SetAngularTwistRestitution(FReal InAngularTwistRestitution); FReal GetAngularTwistRestitution() const

Public function

void

 

SetTwistContactDistance

(
    FReal InValue
)

Void SetLinearContactDistance(FReal InLinearContactDistance); FReal GetLinearContactDistance() const

Public function

void

 

SetTwistRestitution

(
    FReal InValue
)

Void SetLinearRestitution(FReal InLinearRestitution); FReal GetLinearRestitution() const

Public function

void

 

SetUserData

(
    void* InValue
)

Void SetAngularPlasticityLimit(FReal InAngularPlasticityLimit); FReal GetAngularPlasticityLimit() const

Classes

Name

Description

Public struct

FOutputData

Void SetAngularSwingRestitution(FReal InAngularSwingRestitution); FReal GetAngularSwingRestitution() const

Typedefs

Name

Description

FData

FHandle

FTransformPair

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss