Zevios
|
  |
| Joined: 14 Sep 2013 |
| Total Posts: 504 |
|
|
| 31 Jul 2016 02:40 PM |
I am going to do a touched function were if the ball hits the 'left hand side of my right leg' the ball curves left, and if the ball hits the 'right hand side of my right leg' the ball curves right.
I can do the curving part of the script but I really don't have an idea how to make the script identify the part of the leg.
Help is very appreciated.
|
|
|
| Report Abuse |
|
|
| 31 Jul 2016 02:48 PM |
| You will most likely need to use raycasting because i dont think there is currently a way to get the contact points of a collision but you can check the general direction it is compared to the CFrame |
|
|
| Report Abuse |
|