#Why is my raycast so bad?
24 messages · Page 1 of 1 (latest)
You should be raycasting (goal - start).unit as the direction
I dont think thats it tho
I just use the module fastcast
Ok thats not hitscan
Yeah but thats not the issue
Try running this on the client
It might just be latency idk
huh?
sorry im back
minor inconvenience
part.Size = Vector3.new(thickness, thickness, distance)
part.CFrame = CFrame.new(originPos, mousePos) * CFrame.new(0,0, -distance/2)
something liek that
you are getting direction correct by subtracting target by start pos?
and then correct me if I am wrong multiply by your range?