#raycast (Surface Normal)

1 messages · Page 1 of 1 (latest)

undone jay
#

What do you mean

#

Where are you trying to rotate

#

Like rotation of player body and up vector of surface

#

I see

#

Just add the two vectors

#

I think

#

One sec

#

I’m on bus bro circuits are impossible atm 😭

undone jay
#

Put the players forward, vector into upwards and put the surface normal into forward

#

I think

#

Did it with a vector component and it pointed the right way so

undone jay
#

Just reverse the inputs on the quaternion create look if you need to