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: anyway to detect collision with terrain using rays?

Previous Thread :: Next Thread 
SlothyCode is not online. SlothyCode
Joined: 16 Aug 2012
Total Posts: 15420
23 Aug 2015 09:36 PM
'''
game.Workspace:FindPartOnRay(Ray.new(ObjModel.PrimaryPart.Position, Vector3.new(0, -1000, 0)), nil, true, false)
'''


Seems to think it's funny going down further than -1000 and also not detecting collision with terrain >:/


| Clan Developer for hire |
Report Abuse
SlothyCode is not online. SlothyCode
Joined: 16 Aug 2012
Total Posts: 15420
24 Aug 2015 06:10 AM
Bump


| Clan Developer for hire |
Report Abuse
RustGames is not online. RustGames
Joined: 02 Jun 2014
Total Posts: 69
24 Aug 2015 06:18 AM
You could put invisible parts but that'd be a bit messy
Report Abuse
SlothyCode is not online. SlothyCode
Joined: 16 Aug 2012
Total Posts: 15420
24 Aug 2015 06:53 AM
Could you explain that as I don't think having a part represent the ray would solve it e,e


| Clan Developer for hire |
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