ドキュメント

Unity Engine

Unity Engine

simulated

Indicates whether the rigid body should be simulated or not by the physics system.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool simulated { get; set; }

Remarks

When not simulated, any attached Collider2D or Joint2D also do not participate in the physics simulation.