Question by
paulofrontera · Sep 04, 2020 at 05:41 AM ·
movementplayer
player turns on the circular surface?
Hi. I need help. I want to create something like this:
Where the player turns on the circular surface. I have no idea how to do it, any tips will be very usefull. this is the prototipe I have.
Im not good with coding, mostly using bolt or scripts from the assets. thanks
protitpo.gif
(368.0 kB)
Comment
Answer by BenWiller1989 · Sep 04, 2020 at 11:47 AM
That's actually pretty simple. Just use a raycast to the players -y axis and set the rotation of the player to the raycast hit.normal. That'll turn him to the normal of that mesh!