Version: 2023.2

PhysicsJobOptions2D.islandSolverContactsPerJob

切换到手册
public int islandSolverContactsPerJob ;

描述

执行孤岛解算时,控制在每个模拟作业中要解算的最小接触数。

有关这些属性的概述以及如何使用它们的建议,请参阅 PhysicsJobOptions2D

以下作业性能分析器名称会受此属性影响:

• Physics2D.InitializeContactSolverJob\ • Physics2D.WarmStartContactSolverJob.\ • Physics2D.InitializeVelocityConstraintsJob\ • Physics2D.SolvePositionConstraintsJob\ • Physics2D.SolveVelocityConstraintsJob\ • Physics2D.StoreConstraintImpulsesJob\ • Physics2D.SolveContinuousPositionConstraintsJob。\