/// <summary> /// External class keeps track of the physics duplicates for clean, consistent physical passthrough /// </summary> public void FixedUpdate() { //if (GlobalPortalSettings.PhysicsPassthrough) //_headInPortalTrigger = false; if (NearTeleportables.Count >= 1 || ((Portal)Target).NearTeleportables.Count >= 1) { PhysicsPassthrough.UpdatePhysics(); } }
/// <summary> /// External class keeps track of the physics duplicates for clean, consistent physical passthrough /// </summary> public void FixedUpdate() { //if (GlobalPortalSettings.PhysicsPassthrough) _headInPortalTrigger = false; PhysicsPassthrough.UpdatePhysics(); }