About 1,050,000 results
Open links in new tab
  1. Understanding Raycasting - Resources / Community Tutorials

    Sep 6, 2025 · A raycast lets you get the data of whatever is first hit when “casting a ray” from a point in a direction. Think of it like shooting a projectile from a point in a direction and getting …

  2. A simple guide to RayCasting - Community Tutorials - Roblox

    Oct 20, 2024 · Here is a video on the subject if you would prefer to watch it instead: Unsure on how to get started with raycasting? You’re in the right place. This is a simple example of how …

  3. Raycast Hitbox 4.01: For all your melee needs! - Roblox

    Oct 24, 2019 · Upgrading from 3.xx to 4.0 Please note that V4 is not backwards compatible with V3. There are a few API changes that were introduced in V4 to better suit modern code …

  4. Raycasting mouse position - Scripting Support - Roblox

    Apr 22, 2022 · Hello! I want to raycast the mouse position but sometimes it doesn’t find anything when I move the mouse over a part `Mouse.Button1Down:Connect(function() local …

  5. Upgraded, Improved, and Faster Raycasts - Roblox

    Aug 17, 2021 · Hey devs, We recently made some big internal upgrades to improve the performance of raycasts (ie WorldRoot:Raycast). We’ll be sharing the progress with you here …

  6. How would I visualize a raycast? - Help and Feedback ... - Roblox

    Jan 25, 2021 · I just learned how to make myself a simple gun using a youtube tutorial, the only thing I need is to visualize the raycast. I just don’t know how to. How would I do that? Here’s …

  7. How to make a raycasting gun - Community Tutorials - Roblox

    Aug 14, 2020 · Preface Alright so the developer hub and old wiki had this, although a few months ago it was removed from the former because it was just so terribly outdated it was a joke. So I …

  8. How can I detect if the raycast hits the player in roblox studio?

    Apr 16, 2024 · How can I detect if the raycast coming from the NPC hits the player? Currently the script Detects parts between the player and the NPC, and changes the color of those detected …

  9. Checking if the Raycast hit, hits a layer from the LayerMask?

    Nov 7, 2018 · Since you want the raycast to ignore anything that isn't a floor, you can use the mask in the raycast so that it only hits floors. To do this, you want to have your LayerMask …

  10. Why is my raycast not detecting any mesh colliders in Unity?

    Jun 7, 2022 · My raycast never detects mesh colliders! it detects spheres but never meshes, tried many solutions such as drawing the raycast on FixedUpdate rather that on Update, also tried …