Version: 1.7
语言 : 中文
What's new in Tuanjie Physics2D
Composite

Substep

在物理引擎中,Substep(子步) 是解决 “物理模拟精度” 与 “实时性能” 矛盾的核心技术,其本质是将物理引擎的主模拟帧(Main Step)拆解为多个更小、更频繁的计算步骤,通过高频次的微小迭代,提升碰撞检测、力与运动计算的准确性,同时避免因单次大步长计算导致的物理穿模、运动失稳等问题。

选项说明

Use Sub Stepping 启用Substep功能

Use Sub Step Contacts 对于碰撞的解算也启用substep

SubStep Count 物理模拟Substep的数量

启用Substep

点击引擎菜单栏Edit-ProjectSettings

ProjectSettings 切换到Physics2D 栏, 将SimulationMode 切换成Update/Script

What's new in Tuanjie Physics2D
Composite