文档

Unity Engine

Unity Engine

continuousAllowed

Controls if continuous collision detection will be used between Dynamic and Static bodies. Generally you should keep continuous collision enabled to prevent fast moving objects from going through Static objects. The performance gain from disabling continuous collision is minor.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool continuousAllowed { get; set; }