文档

Unity Engine

Unity Engine

simulated

Indicates whether the rigid body should be simulated or not by the physics system.
阅读时间1 分钟最后更新于 1 天前

Definition

public bool simulated { get; set; }

Remarks

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