Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bodyType

The physical behaviour type of the Rigidbody2D.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public RigidbodyType2D bodyType { get; set; }

Remarks

Additional Resources: RigidbodyType2D.