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

How do I find the point of contact on a box collider?

$
0
0
I'm performing a little bit of simple practice in unity. As a start I'm trying to recreate pong as a start. But I ran into a little problem, what I want to do is have the ball go in a certain direction depending on where the collision happened. I tried using contact points, but the point seems to be the world position instead of the collision on the box, I was wondering if there was a method I'm missing that gives the contact point on the box instead of the world.

Viewing all articles
Browse latest Browse all 75

Trending Articles



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