|
| 15 Feb 2015 08:32 PM |
parts named Wallrun?
local function castRightSideRay() runThread(function() hit = ray(Root.Position, Root.CFrame:toWorldSpace(CFrame.new(4,0,0)).p, Root.CFrame.p, {localCharacter}) end) return hit end
Bloodraven, President of Angular. |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2015 08:33 PM |
parent all the wallrun parts to a model
then add the model into the ignore list for findpartonray |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2015 08:34 PM |
No, I mean the ray is supposed to detect wallrun, but it's detecting my right arm instead,
Bloodraven, President of Angular. |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2015 08:35 PM |
| oh then add ur character to the ignore list |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2015 08:36 PM |
idk how to use the ignore list. e,e
Bloodraven, President of Angular. |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2015 08:37 PM |
| http://wiki.roblox.com/index.php/Raycasting |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2015 08:44 PM |
local function castRightSideRay() runThread(function() local ignore = game.Players.LocalPlayer.Character hit = ray(Root.Position,Root.CFrame:toWorldSpace(CFrame.new(4,0,0)).p,Root.CFrame.p, ignore) end) print(hit) return hit end
Now it always returns nil.
Bloodraven, President of Angular. |
|
|
| Report Abuse |
|
|
| |
|