- Home /
Question by
vbo2020 · Apr 02, 2017 at 10:05 AM ·
2dplatformerboundsheight
Finding the Height of the Platform the Player is Standing On.
I am building a 2D platformer in Unity, and I need the player to know the height, or vertical size of the platform it is currently standing on (which could be constantly changing). Is there a way for me to find the upper and lower bounds for the platform that the player is standing on? The platforms have BoxCollider2D's, and I am using a raycast collision system.
Comment
Your answer
Follow this Question
Related Questions
Ways to find bounds of the platform 1 Answer
Velocity from external objects 0 Answers
Why is my gameObject falling so slow? 1 Answer
Hinge joint 2D moving away from anchor 0 Answers
animation 2d platformer 2 Answers