Trouble with spherecast

  1. What do you want to achieve? I want to spherecast from a single point outwards

  2. What is the issue? I can only spherecast next to the middle point

  3. What solutions have you tried so far? Every possible direction

local Direction = script.Parent.CFrame:VectorToWorldSpace(script.Parent.CFrame.LookVector)*100
local Radius = 10
local result = workspace:Spherecast(script.Parent.Position, Radius, Direction, Params)

What do I have to do to make it spherecat from the center position (script.Parent.Position)?
Am I missing something? Is it even possible to do this?
I tried changing the direction to many different vectors but only the worldspace lookvector *100 actually does something.


Black circle: center part
Yellow circle: spherecast

no this is not possible, i believe roblox specifically mentions that it wouldn’t detect any parts that are already intersecting the cast at the original position

you should probably use the other spatial methods

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.