0
\$\begingroup\$

I'm trying to draw lines that predict the movement after collision between two balls, in a game of pool. How do I do that?

I heard it can be done via raycasts, but how do I draw a line?

\$\endgroup\$
2
  • 1
    \$\begingroup\$ wich engine are you using? In Unity , Physics.SphereCast would be a better choice for calculating pool balls touch point. \$\endgroup\$ Commented Jul 22, 2015 at 9:01
  • \$\begingroup\$ Im sorry, I forgor to mention that Im using Unity + C#. \$\endgroup\$
    – mirzahat
    Commented Jul 22, 2015 at 9:42

0

Browse other questions tagged .