UPhysicsConstraintComponent::SetLinearPlasticity

Sets the Linear Plasticity properties

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsConstraintComponent.h

Include

#include "PhysicsEngine/PhysicsConstraintComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicsConstraintComponent.cpp

Syntax

void SetLinearPlasticity
(
    bool bLinearPlasticity,
    float LinearPlasticityThreshold
)

Remarks

Sets the Linear Plasticity properties

Parameters

Parameter

Description

bLinearPlasticity

Whether it is possible to reset the target angle from the Linear displacement

LinearPlasticityThreshold

Percent deformation needed to reset the rest length of the joint

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