_Assassin_ Posted August 25, 2017 Posted August 25, 2017 Hello everyone, I'm trying to create a raycast for my game in order to play specific sound files depending on what material the player is walking on. I have been unable to successfully create a simple raycast and have no idea where to start. Is there a simple tutorial anywhere to create a raycast on a 3D object in Lua? Quote
Solution macklebee Posted August 25, 2017 Solution Posted August 25, 2017 See this monthly script challenge for an example of what you are attempting: 1 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel
_Assassin_ Posted August 26, 2017 Author Posted August 26, 2017 Thank you, Genebris's script would be a perfect reference for what I am trying to achieve. Genebris if you read this, then thank you so much! I would be totally lost without your script! Quote
_Assassin_ Posted August 26, 2017 Author Posted August 26, 2017 I'm also having trouble with landing sounds. I just can't get it to play at the correct time. Other people suggested using a raycast to achieve this, but that's where I get lost. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.