Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine > UPhysicsConstraintComponent
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 |
void SetLinearBreakable
&40;
bool bLinearBreakable,
float LinearBreakThreshold
&41;
Remarks
Sets the Linear Breakable properties
Parameters
Name | Description |
---|---|
bLinearBreakable | Whether it is possible to break the joint with linear force |
LinearBreakThreshold | Force needed to break the joint |