#Need Help with Raycast
1 messages · Page 1 of 1 (latest)
In this vers i used Smart Raycast v2
If u need all module i back in 4 hours and send it
u dont need a module
raycasting isnt that hard
and why u need raycast for a slide\
but like if u wanna raycast jst get the direction
then do workspace:raycast
jst search up some tutorials
For a speed slow and stop when i bump wall
Ik i just tryed, one of many ways
Maybe i do smth wrong or idk
I really tryed watch tutorials, ask ai and google, i think i do something wrong and dont see it
Fire a raycast forward by getting the negative of humanoidRootPart's lookvector
calculate the distance between the rootPart and the hit ray by subtracting them and doing .Magnitude
when that distance reaches a certain value, lower the slide speed or stop it
** You are now Level 3! **
I do it before buttt, Uh i just send a Video
Watch Untitled by The_Lite and millions of other Roblox Studio videos on Medal. #robloxstudio
** You are now Level 5! **
nevermind
I fix that
I do good all
I just added offset for raycast
local offsetDistance = -1.5
local wallRayCF = flatCF * CFrame.new(0, 0, offsetDistance)
huh just a few symbols make me crazy 2 days
Thanks all