文档

Unity Engine

Unity Engine

forceScale

The scale of the impulse force applied while attempting to reach the surface speed.
阅读时间1 分钟最后更新于 1 个月前

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.