mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
no message
This commit is contained in:
@@ -184,8 +184,8 @@ namespace Pathfinding {
|
||||
if (coll == null && coll2D == null) return;
|
||||
|
||||
// Required to ensure we get the most up to date bounding box from the physics engine
|
||||
UnityEngine.Physics.SyncTransforms();
|
||||
UnityEngine.Physics2D.SyncTransforms();
|
||||
// UnityEngine.Physics.SyncTransforms();
|
||||
// UnityEngine.Physics2D.SyncTransforms();
|
||||
|
||||
if (!colliderEnabled) {
|
||||
// If the collider is not enabled, then col.bounds will empty
|
||||
|
Reference in New Issue
Block a user