Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


forceScale

The scale of the impulse force applied while attempting to reach the surface speed.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float forceScale { get; set; }

Remarks

0 stops any impulse force, whereas 1 uses the full impulse force.