PrimitiveComponent-AddForceAtLocation(Vector3_Vector3_string_bool).md
April 18, 2021 ยท View on GitHub
UnrealEngine.Framework.PrimitiveComponent
PrimitiveComponent.AddForceAtLocation(System.Numerics.Vector3, System.Numerics.Vector3, string, bool) Method
Adds a force to a rigid body at a specific location, optionally in local space
public void AddForceAtLocation(in System.Numerics.Vector3 force, in System.Numerics.Vector3 location, string boneName=null, bool localSpace=false);
Parameters
force System.Numerics.Vector3
Force vector to apply, magnitude indicates strength of force
location System.Numerics.Vector3
A point in world or local space to apply the force 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
localSpace System.Boolean
If true, applies force in local space instead of world space