PrimitiveComponent-AddForce(Vector3_string_bool).md
April 18, 2021 ยท View on GitHub
UnrealEngine.Framework.PrimitiveComponent
PrimitiveComponent.AddForce(System.Numerics.Vector3, string, bool) Method
Adds a force to a rigid body
public void AddForce(in System.Numerics.Vector3 force, string boneName=null, bool accelerationChange=false);
Parameters
force System.Numerics.Vector3
Force vector to apply, magnitude indicates strength of force
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
accelerationChange System.Boolean
If true, force is taken as a change in acceleration instead of a physical force (the mass will have no effect)