PrimitiveComponent-AddRadialImpulse(Vector3_float_float_bool_bool).md
April 18, 2021 ยท View on GitHub
UnrealEngine.Framework.PrimitiveComponent
PrimitiveComponent.AddRadialImpulse(System.Numerics.Vector3, float, float, bool, bool) Method
Adds an impulse to all rigid bodies in the component, originating from the supplied world-space location
public void AddRadialImpulse(in System.Numerics.Vector3 origin, float radius, float strength, bool linearFalloff=false, bool accelerationChange=false);
Parameters
origin System.Numerics.Vector3
Origin of the impulse in world space
radius System.Single
Radius within which to apply the impulse
strength System.Single
Strength of the impulse to apply
linearFalloff System.Boolean
If true, the force will lose its strength linearly
accelerationChange System.Boolean
If true, strength is taken as a change in acceleration instead of a physical force (the mass will have no effect)