- Home /
Collision on the bottom?
Hello,
Trying to make a 3D platformer. Got a stick figure with a box collider on it. When he is on on the "ground" or a platform, he stops falling.
The best way I can figure to do this is to check if there is something colliding with the bottom of the collider. Except I have no idea how to specifically check the bottom during collision.
The other object is to just have another box collider only on the bottom, but that seems hacky.
Answer by hvilela · Oct 18, 2012 at 12:11 AM
Add two colliders to the platform, one above and one below (that is just a trigger). When the below trigger "enters" you disable the above and vice-versa.
Isn't that even worse that just adding a second collider to the player?
Your answer
Follow this Question
Related Questions
Player sticks to bottom of platform 0 Answers
Detect if there's collision from below? (box collider) 2 Answers
How to move multiple dynamic gameobjects with one moving platform which is controlled by the player 0 Answers
2D character can't jump off of platform floating in water 0 Answers
Unity2D collision problem 3 Answers