so this is my raycast code:
local ray = Ray.new(bullet.CFrame.p,(pos-bullet.CFrame.p).unit * 20)
i am just wondering where would i put the
cframe.Angles(math.rad(0.01),0,0)
to make it dip down a bit plz help ive tried to put it here
local ray = Ray.new(bullet.CFrame.p,(pos-bullet.CFrame.p * cframe.Angles(math.rad(0.01),0,0) ).unit * 20)
but it doesn't work plz help :(
EDIT: WOOOO IT WORKS ok so what i did was i was thinking that you have to have two points so the ray knows where to go so if you change the mouse then if your aiming above it then the raycast will give the drop a lot so i came up with after every raycast do this
pos = pos - vector3.new(0,0.1,0)
and if you do that then after every raycast it will drop a bit increase the number to increase the drop lessen it to lessen the drop im so happy about discovering this :)
