generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How to get this to ignore anything except

Previous Thread :: Next Thread 
BIoodraven is not online. BIoodraven
Joined: 14 Sep 2014
Total Posts: 11981
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
TheAwesomenessDude is not online. TheAwesomenessDude
Joined: 17 Jul 2011
Total Posts: 11602
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
BIoodraven is not online. BIoodraven
Joined: 14 Sep 2014
Total Posts: 11981
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
TheAwesomenessDude is not online. TheAwesomenessDude
Joined: 17 Jul 2011
Total Posts: 11602
15 Feb 2015 08:35 PM
oh then add ur character to the ignore list
Report Abuse
BIoodraven is not online. BIoodraven
Joined: 14 Sep 2014
Total Posts: 11981
15 Feb 2015 08:36 PM
idk how to use the ignore list. e,e

Bloodraven, President of Angular.
Report Abuse
TheAwesomenessDude is not online. TheAwesomenessDude
Joined: 17 Jul 2011
Total Posts: 11602
15 Feb 2015 08:37 PM
http://wiki.roblox.com/index.php/Raycasting
Report Abuse
BIoodraven is not online. BIoodraven
Joined: 14 Sep 2014
Total Posts: 11981
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
BIoodraven is not online. BIoodraven
Joined: 14 Sep 2014
Total Posts: 11981
15 Feb 2015 09:14 PM
Bump
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image