allow rigidbodies to travel through portals
This commit is contained in:
@@ -29,7 +29,7 @@ namespace Escape_Room_Engine.Portal
|
||||
if (!GetComponent<Collider>().isTrigger) throw new Exception("Collider must be a trigger.");
|
||||
}
|
||||
|
||||
private void LateUpdate()
|
||||
private void FixedUpdate()
|
||||
{
|
||||
for (var i = 0; i < _closePortalDrivers.Count; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user