Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


speed

The speed to be maintained along the surface.
Read time 1 minuteLast updated 5 days 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.