hello,
im working on a side scroller like “Paper Mario” style and was was wondering how would i make clear
edge blockers so people wont run off - like a glass [see throw] wall of sorts… would this be done by a
special mesh or something else completely…
If you don’t want to use Physics, you can have a Box Collider 2D set as a trigger, that will send messages (SendMessage()) to whatever objects leave (OnTriggerExit2D()) the area. The objects that receive the message can reset their position.
Or you can also implement a whole GameArea mechanics, like the one I talk about in my training course here.