Quantcast
Channel: Questions in topic: "contact"
Viewing all articles
Browse latest Browse all 75

OnCollisionStay contactPoint2D problem

$
0
0
I'm trying to figure out where my character is while he's colliding with an object by using the contactPoint but it seems like contactPoint is calculated only once ![alt text][1] [1]: http://s28.postimg.org/xwq8nwejx/img.jpg White ones are the collision points normals in character's onCollisionStay and red ones for the floor's onCollisionStay but even though i'm at a different location it only shows me the first collision point. How can i make it to be calculated again? If i jump and fall in another side of the floor it's re-calculated, but it doesnt change if i move left-right.

Viewing all articles
Browse latest Browse all 75

Trending Articles



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