#How can i detect im on a ramp with raycast

1 messages · Page 1 of 1 (latest)

burnt breach
#

I think it probably has to do with RaycastResult.Normal

#

and you have to use math

#

I forget how to do it but u can look up in devforum

rapid fiber
#

If the normal isnt exactly x = 0, y = 1, z = 0 then it is a ramp

#

Or if it isn’t the opposite of ray direction

balmy tinsel
blissful storm
#

to get the floorvector u can just do this

#

u can apply ur force along that