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: Is this possible.

Previous Thread :: Next Thread 
mityguy is not online. mityguy
Joined: 07 Jun 2008
Total Posts: 5483
27 May 2013 08:42 PM
If a ray is cast, and it hits and object you can tell from the object casting. But can the object hit know when its hit?
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
27 May 2013 08:56 PM
The object can't tell when its hit, but the ray can tell what the first object it is.
Report Abuse
mityguy is not online. mityguy
Joined: 07 Jun 2008
Total Posts: 5483
27 May 2013 08:57 PM
I'm aware of that, I need to find a way for the object hit to detect when its hit.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
27 May 2013 08:58 PM
Well then you need to tell the object that your ray detected it. You could use a bindable function/event.
Report Abuse
mityguy is not online. mityguy
Joined: 07 Jun 2008
Total Posts: 5483
27 May 2013 08:59 PM
Wait wait, that might work can you help me out, where do I start
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
27 May 2013 09:01 PM
http://wiki.roblox.com/index.php/Bindable_event
http://wiki.roblox.com/index.php/BindableFunction
http://wiki.roblox.com/index.php/Callback_%28Tutorial%29
Report Abuse
mityguy is not online. mityguy
Joined: 07 Jun 2008
Total Posts: 5483
27 May 2013 09:02 PM
Thanks!
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