Hello guys, i’m currently working on a Climbing ledge system, and i’m almost done, but i’m having a problem to place the character on the right place when he grabs the ledge.
Currently, i’m using transform.rotation.eulerAngles to make my character face the ledge, and then i transform the positions z and y of my characters to match the ledge, and it works fine, just like Pic 1! but, if i rotate the platform, the character will match the global Z position from the center of the ledge ( just like Pics 2 and 3 ), and that’s obviously causes some errors. then, i decided to try another method:
After i rotate my character to face the ledge, i could make the X axis of my character match the X axis of the ledge ( see pic 4 ). but i don’t know how to make this… if its possible, can someone help me?
and if you guys can come up with a simpler solution, its fine too