Documentation

Unity Engine

Unity Engine

speed

The speed to be maintained along the surface.
Read time 1 minuteLast updated 2 months ago

Definition

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

Remarks

This speed will be maintained by applying continually applying impulse forces to the target Rigidbody2D.