Lets say that we have a box. i can walk with a character on the box without anything happens. but when i walk into the box from one of the two sides, something will happen like the speed get set to 0.
How do i achive this? I use Javascript and its a 2d game with the new features.
do i need to add more colliders to the “box” ? if so how can i enter that exact collider if there is more than one, in a script?