iBroski
|
  |
| Joined: 06 Jul 2011 |
| Total Posts: 100 |
|
|
| 09 Sep 2013 07:54 PM |
How would I make a ray ignore more than one instance's descendants?
Can I do this?
local ignore = game.Players.LocalPlayer.Character, game.Workspace.SomeModel, game.Workspace.Another local hit, position = Workspace:FindPartOnRay(ray, ignore) |
|
|
| Report Abuse |
|
|
1waffle1
|
  |
| Joined: 16 Oct 2007 |
| Total Posts: 16381 |
|
|
| 09 Sep 2013 07:58 PM |
| Either group all of the instances you want to ignore, or cast a new ray every time it hits something you want to ignore. |
|
|
| Report Abuse |
|
|
cxcharlie
|
  |
| Joined: 26 Aug 2009 |
| Total Posts: 1414 |
|
|
| 09 Sep 2013 08:01 PM |
local ignore={} hit,pos=workspace:FindPartOnRayWithIngoreList(ray,table of ignore) |
|
|
| Report Abuse |
|
|
iBroski
|
  |
| Joined: 06 Jul 2011 |
| Total Posts: 100 |
|
| |
|
|
| 09 Sep 2013 08:05 PM |
| He spelled Ignore wrong though. |
|
|
| Report Abuse |
|
|