You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then you call the teleporter to move the play area
Then in Teleported event call PsuedoBody.SnapToSource
Its not possible to simply teleport or move the play area through a collider with the pseudo body because it will resolve the collisions back to the rigidbody collider which cannot pass through colliders.
A simple guide showing how to achieve this with the teleporter:
add teleporter
then you call the teleporter to move the play area
in Teleporting event, disable the PsuedoBody GameObject (to prevent divergence resolution)
Then in Teleported event call Begin on a WaitForEndOfFrameYieldEmitter
Then in the WaitForEndOfFraimeYieldEmitter.Yieleded event, just re-enable the PsuedoBody GameObejct (and allow it to re-sync)
The text was updated successfully, but these errors were encountered:
Update
This is now simpler:
Its not possible to simply teleport or move the play area through a collider with the pseudo body because it will resolve the collisions back to the rigidbody collider which cannot pass through colliders.
A simple guide showing how to achieve this with the teleporter:
The text was updated successfully, but these errors were encountered: