Quantcast
Viewing latest article 3
Browse Latest Browse All 8

Answer by lancerfour

maybe: use a child cube, about a quarter of the height of the parent (so it doesn't collide too high up), with a length x width error-margin you prefer around the outside, that looks for collisions. When it's in collision with an object, you're (probably) on the ground.

Edit: oh, but make sure the bottom of the child cube is aligned with the bottom of the parent cube and offset downward by the error-margin.


Viewing latest article 3
Browse Latest Browse All 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>