Hello! Me and a friend of mine are working on a castle crashers/scott pilgrim style beat em up game. These games have a sort of “fake” 3d collision, where player characters can move and jump on geometry properly, but still have flat 2D sprite art.
We are currently stuck trying to figure out how to achieve this. The way we have it currently is that there is a box collider around the player characters feet, and an edge collider acting as the level collision. The problem with this is that this makes it impossible to do things like jump onto a higher platform. We want to know if there is any way of “drawing” where the player can and cannot walk on, as seen in the attached image.
Here is the script for our player movement: using System.Collections;using System.Collections.Generic;using UnityEngine; - Pastebin.com
Any help will be much appreciated, thank you!