|
| 03 Jan 2015 04:53 PM |
I am making a bowling game, and I need to check if a pin has fallen, what I currently am trying is like
script.Parent.Touched:connect(function() wait() if script.Parent.CFrame.Angles == CFrame.new() or --and then I would continue, I tried this and it didn't work can someone give me a suggestion? |
|
|
| Report Abuse |
|
|
goro7
|
  |
| Joined: 01 Jul 2009 |
| Total Posts: 735 |
|
|
| 03 Jan 2015 05:05 PM |
| Weld an invisible brick to the top of the pin. Then put an onTouched script in it so when that part touches the ground (aka the pin fell over), it would detect it. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 03 Jan 2015 05:07 PM |
| Just check if its y position isn't exactly what it was before |
|
|
| Report Abuse |
|
|
| |
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
| |
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 03 Jan 2015 05:44 PM |
| https://www.youtube.com/watch?v=dI7TSrFga7c |
|
|
| Report Abuse |
|
|