PrimitiveComponent-AddAngularImpulseInDegrees(Vector3_string_bool).md

April 18, 2021 ยท View on GitHub

UnrealEngine.Framework.PrimitiveComponent

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

Adds an angular impulse in degrees to a rigid body

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

Parameters

impulse System.Numerics.Vector3
Magnitude and direction of the impulse to apply, the direction is the axis of rotation

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)