Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/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 |
UFUNCTION (BlueprintCallable, Category="Physics|Components|PhysicsConstraint")
void SetLinearBreakable
(
bool bLinearBreakable,
float LinearBreakThreshold
)
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 |