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: Raycast problemos :v

Previous Thread :: Next Thread 
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
15 Feb 2016 12:19 AM
So lately I've been running into problems with raycasting, an example would be me raycasting from Vector3.new() to Vector3.new(0, 5, 0) and getting the hit point '0, 2, 0.991' returned. Since the Origin and Direction both have the X and Z coordinates set to 0, it is safe to assume that the hit point would have X and Z be 0, and the Y coordinate would range from 0 to 5. But that is not the case unfortunately.



I ran this in the command input

local _,A = workspace:FindPartOnRay(Ray.new(Vector3.new(60, 5, -120), Vector3.new(60, 10, -120))) print(A)

and got the output '67, 6.16666651, -134'


I think this sums up the problem I'm encountering :v
Report Abuse
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
15 Feb 2016 01:44 AM
but no srs, am I the only person encountering these issues :v
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