Force Effect
Introduction

Related Topics
Custom Effects
Angular Effect
Origin
Strength
Last updated

Last updated
[CreateAssetMenu(menuName = "Physics/Effects/Custom")]
public class CustomEffect : ForceEffect
{
public override void AngularEffect(Vector3 origin, float strength, PhysicsData subject)
{
//Do work
}
public override void LinearEffect(Vector3 origin, float strength, PhysicsData subject)
{
//Do work
}
}