Hello guys, I was stuck at this problem because I like being independent… completely forgot I have the help of thousands of people at disposal thanks to this well crafted site
The issue is that I want to offset a the origin of the raycast from rootpart which I was able to do by simply
local origin = rootpart.CFrame*CFrame.new(-4,0,1).Position
what i’m struggling to do is actually get the direction perfect, what I want to do is make it so it’s slightly diagonal what i’ve done so far was…
local direction = rootpart.CFrame.lookVector+rootpart.CFrame.RightVector*20
An awful representation of this would be