- Home /
Question by
Volucris · Jun 25, 2019 at 10:52 PM ·
collider2djumpinglayersbehaviour
Jumping behavior based on what part of an object you're touching?
I want to implement wall-jumping in my game, and I believe it would be a simple thing as making what I'd be jumping off of a certain layer, and if my collider is touching an object of that layer to jump in that certain way. However, the main object would be boxes, and when standing on top of the boxes I would like them to jump normally as if on the ground.
Is there a way to have a collider check which part of an object it's touching?
Comment