Navigation
API > API/Runtime > API/Runtime/FieldSystemEngine > API/Runtime/FieldSystemEngine/Field > API/Runtime/FieldSystemEngine/Field/UFieldSystemComponent
References
| Module | FieldSystemEngine |
| Header | /Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Public/Field/FieldSystemComponent.h |
| Include | #include "Field/FieldSystemComponent.h" |
| Source | /Engine/Source/Runtime/Experimental/FieldSystem/Source/FieldSystemEngine/Private/Field/FieldSystemComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Field", DisplayName="Apply External Strain",
Meta=(UnsafeDuringActorConstruction="true"))
void ApplyStrainField
(
UPARAM(DisplayName="Enable Field") bool Enabled,
UPARAM(DisplayName="Center Position") FVector Position,
UPARAM(DisplayName="Falloff Radius") float Radius,
UPARAM(DisplayName="Field Magnitude") float Magnitude,
UPARAM(DisplayName="Cluster Levels") int32 Iterations
)
Remarks
ApplyExternalStran This function will dispatch a command to the physics thread to apply a strain field on a clustered set of geometry. This is used to trigger a breaking event within the solver.
Parameters
| Name | Description |
|---|---|
| Enabled | Is this force enabled for evaluation. |
| Position | The origin point of the force |
| Radius | Radial influence from the position, positions further away are weaker. |
| Magnitude | The size of the linear force. |
| Iterations | Levels of evaluation into the cluster hierarchy. |