Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


enableProjection

Brings violated constraints back into alignment even when the solver fails.
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

Projection is not a physical process and does not preserve momentum or respect collision geometry. It is best avoided if practical, but can be useful in improving simulation quality where joint separation results in unacceptable artifacts.