drgn42
|
  |
| Joined: 11 Feb 2010 |
| Total Posts: 3231 |
|
|
| 06 Aug 2015 10:25 AM |
So in the wiki, I understood the entire code but one thing on this line.
local ray = Ray.new(tool.Handle.CFrame.p, (mouse.Hit.p - tool.Handle.CFrame.p).unit*300)
Why would you multiply that by 300? The reason the wiki gives is "and multiplied it by 300 so that it won't have too long of a range." To me that doesn't make any sense. We make it 300 times larger so it's not too big? What? Can someone tell me how that works? |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2015 10:29 AM |
| You times by the range you want the ray to be, so for that, the range would be 300. |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2015 10:30 AM |
http://www.roblox.com/Forum/ShowPost.aspx?PostID=170086278
scroll down to the bottom! :) |
|
|
| Report Abuse |
|
|
drgn42
|
  |
| Joined: 11 Feb 2010 |
| Total Posts: 3231 |
|
|
| 06 Aug 2015 10:34 AM |
| I'm still slightly confused over why. Does it even matter if it's 300 or 500 or any number really? |
|
|
| Report Abuse |
|
|