Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection > API/Runtime/GeometryCollectionEngine/GeometryCollection/UGeometryCollect-_1
References
| Module | GeometryCollectionEngine |
| Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionComponent.h |
| Include | #include "GeometryCollection/GeometryCollectionComponent.h" |
| Source | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponent.cpp |
UFUNCTION (BlueprintCallable, Category="ChaosPhysics")
void ApplyBreakingLinearVelocity
(
int32 ItemIndex,
const FVector & LinearVelocity
)
Remarks
Apply linear velocity on breaking pieces for a specific cluster If ItemIndex does not represent a cluster this will do nothing
Parameters
| Name | Description |
|---|---|
| ItemIndex | item index ( from HitResult) of the cluster owning the breaking pieces to apply velocity on |
| LinearVelocity | linear velocity to apply |