- Home /
Question by
eziowith550ti · Mar 03, 2018 at 12:19 PM ·
2d gameunity 2d2d-platformercolliders2d-physics
Way to achieve 3 lane mechanism in a 2D game
I am trying to implement a mechanic in my 2D game. So as you can see there are 3 lanes on one tile/platform. What I want is that the player when jumps from lane 1 the character should land on lane 1 and similarly when jumps from lane 2/3 should land on lane/collider 2/3 . Please recommend a solution for this. You can see the different colliders arranged in the image. Also please let me know solution for 2nd image/mechanism. The small tile/platform only has a single collider. The player should only be able to jump onto/go on it from the middle collider of the previous tile and should fall if he/she jumps from the upper or lower lane. Thanks !
capture1.jpg
(88.5 kB)
capture.jpg
(62.7 kB)
Comment