PrimitiveComponent-AddImpulse(Vector3_string_bool).md

April 18, 2021 ยท View on GitHub

UnrealEngine.Framework.PrimitiveComponent

PrimitiveComponent.AddImpulse(System.Numerics.Vector3, string, bool) Method

Adds an impulse to a rigid body

public void AddImpulse(in System.Numerics.Vector3 impulse, string boneName=null, bool velocityChange=false);

Parameters

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

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

velocityChange System.Boolean
If true, impulse is taken as a change in velocity instead of a physical force (the mass will have no effect)