Quantcast
Channel: Answers for "How to check direction of wall on character controller hit?"
Browsing latest articles
Browse All 4 View Live

Answer by robertbu

There are a couple of approaches to this problem. A character controller has a set of [collision flags.][1] The flags tell you what part(s) of the character were impacted. You can directly access these...

View Article



Answer by Kavorka

Check the normal vector. [ControllerColliderHit.normal][1] [1]: http://docs.unity3d.com/Documentation/ScriptReference/ControllerColliderHit-normal.html

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images

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