Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: hoyoyo80 on June 14, 2020, 03:30:15 AM
-
Hi all,
I am making climb mechanic for my game, able to stick my player on wall but unable to maintain the player to face the wall. Im using raycast to get the normal of the wall, invert it and use smooth look at direction but no luck?
Or maybe i get the concept wrong.
Thanks:)
-
Hi.
Maybe this video can help :
It places the bullet holes in the correct rotation, but the system could probably be use to do this as well (with some changes)
-
Thanks..manage to align to surface.But drastic change in surface angle will make my rotation going crazy. Maybe need a little more tricks.
Thanks
-
You could calculate the direction with destination vector - starting point vector, which should tell you where the wall is.
-
You are right sir, that a good theory.Ill try thats and Thanks:)