PrimitiveComponent-AddImpulseAtLocation(Vector3_Vector3_string).md

April 18, 2021 ยท View on GitHub

UnrealEngine.Framework.PrimitiveComponent

PrimitiveComponent.AddImpulseAtLocation(System.Numerics.Vector3, System.Numerics.Vector3, string) Method

Adds an impulse to a rigid body at a specific location

public void AddImpulseAtLocation(in System.Numerics.Vector3 impulse, in System.Numerics.Vector3 location, string boneName=null);

Parameters

impulse System.Numerics.Vector3
Magnitude and direction of the impulse to apply

location System.Numerics.Vector3
A point in world space to apply the impulse at

boneName System.String
If applied to SkeletalMeshComponent, the name of the body to apply an angular impulse to, or null to indicate the root body