Quantcast
Channel: Answers for "Translate Problem"
Viewing all articles
Browse latest Browse all 4

Answer by s.ta.c.

$
0
0
The lion will already fall right? Then why would you need to check if it falls or not, it just falls if there is no contact. If your problem is about colliding, i would suggest using raycasts. Just raycast below lion for ground (or logs, water, whatever) and get distance, if distance is below some value determined by you, simply set state to *grounded*. Then do the job in Update() method.

Viewing all articles
Browse latest Browse all 4

Trending Articles



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