Hi,
I have what seems to be odd behaviour in my version of Unity. The version is 2020.3.25f1. I noticed the behaviour when I get this far in the course, but I have been able to strip back everything to the basics in order to reproduce.
The issue is that when there is an edge collider 2d and the surface effector 2d on the sprite shape, any other collider with the isTrigger set to true will “teleport” from it’s position in the game world to the cords 0,0,0. It is really easy to reproduce this just by doing the following:
- Create a new 2D unity project
- Add a default closed sprite shape
- Add a edge collider 2d to the sprite shape
- Add a surface effector 2d to the sprite shape
- Add a dynamic sprite over the sprite shape
- On the dynamic sprite’s collider set is trigger to true
- Click play and observe that the dynamic sprite will teleport as soon as it hits the sprite shape
I have captured the behaviour in a youtube video that you can see here - https://youtu.be/rpVRemIRNvg
Do you have any idea what could be causing this behaviour?