Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

2D version of DontGoThroughThings script?

$
0
0
In my pong game, I don't want the ball clipping into players' paddles so I downloaded this: http://wiki.unity3d.com/index.php?title=DontGoThroughThings script which uses raycasting and tried to convert it into 2D but I failed. in 3D it says that if you attach this script to an object, it won't clip into things on collisions. How to achieve this?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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