Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useGravity

Controls whether gravity affects this articulation body.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public bool useGravity { get; set; }

Remarks

If you set this property to False, the articulation body will behave as if it was in outer space.