About 1,040,000 results
Open links in new tab
  1. Understanding Raycasting - Community Tutorials - Roblox

    Oct 8, 2023 · 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 - Help and Feedback / Scripting

    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. My Intro to Raycasting - WHAT, WHY, and HOW - Roblox

    Feb 26, 2022 · My Intro to Raycasting Hello, and today I will teach you how to use raycasting, as well as many common use cases of it in Roblox development. Raycasting is a big part of …

  7. How would I visualize a raycast? - Scripting Support - 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 …

  8. Raycast casting to the wrong direction - Roblox

    Nov 15, 2023 · The second parameter of Raycast is the direction you want the ray to travel. The one you have there humanoidRootPart.Position - Vector3.new(0, 25, 0) is a pretty nonsensical …

  9. Correct & Parallel-safe Piercing Raycast - Roblox

    Jul 26, 2025 · This is an easy-to-use and efficient piercing/penetrating raycast solution for “advanced” people out there who want to make stuff like weapon frameworks. An important …

  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 …