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 » Scripting Helpers
Home Search
 

Re: Can someone explain why this ray is going down?

Previous Thread :: Next Thread 
adjotur is not online. adjotur
Joined: 10 Oct 2011
Total Posts: 892
25 Mar 2012 08:43 PM
newRay = Ray.new(currentNode.Position, (x.Position - currentNode.Position).unit * 2)
node = workspace:FindPartOnRay(newRay,currentNode)
Report Abuse
stardoctor0999 is not online. stardoctor0999
Joined: 06 Aug 2010
Total Posts: 425
25 Mar 2012 09:10 PM
No, we don't know the currentNode's Position, or the x's position.
Report Abuse
InternetGuy is not online. InternetGuy
Joined: 28 Apr 2010
Total Posts: 3385
25 Mar 2012 10:39 PM
@star, I think he didn't define it.
Report Abuse
DXPower is not online. DXPower
Joined: 21 Oct 2008
Total Posts: 2866
25 Mar 2012 10:41 PM
Did you forget to change currentNode's position? Did you place currentNode's position in the wrong place? Where you make currentNode, set its transparency to 0 so you can see it.

Annoying the crap out of you, one word at a time. -Says suoicodilaipxecitsaligirfilacrepus repeatedly-
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
25 Mar 2012 10:47 PM
Gravity.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
25 Mar 2012 10:48 PM
It would help to know the positions of these bricks.
Report Abuse
adjotur is not online. adjotur
Joined: 10 Oct 2011
Total Posts: 892
25 Mar 2012 11:05 PM
This is only part of a script.
Everything is defined and currentnode is 1 stud away from x.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
25 Mar 2012 11:21 PM
Now watch it be 1 stud *down* ​>_>
Report Abuse
adjotur is not online. adjotur
Joined: 10 Oct 2011
Total Posts: 892
26 Mar 2012 08:12 PM
They're all on the same level. It's a 9x9 grid of 5x5 cubes.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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