PlayMaker Help & Tips > PlayMaker Help

2.5D platformer ladder problem

(1/2) > >>

BioFan:
Hi guys, I'm doing a 2.5D platformer game. I'm new to Unity and have done most of the work following cloud03's tutorial.
My character is already able to climb the ladder but there is one problem. My ladder is set up like Megaman's, so the player will look away from the screen as he is going up. Like this

Right now my character will look away if he is going up from one direction and look at the other direction if he is going from the other direction.
I think one of the main reason is the way I animated it. But how do I force my character to always look at one direction as he is climbing up the ladder?
Any suggestions? thanks in advance

cloud03:
Are you using different sets of animation for going up and down?

The way I set it, is to only use one animation, and when inside the ladder trigger, rotate the child object (the character object model) so it is facing to the ladder.

BioFan:
Nope, I'm actually still trying to climb up only. :)

So if my character comes from the left, he will animate correctly, but when he comes from the right, he will rotate the other way.

But I think I have it set wrong, cos I animate it rotating. From your explanation, I think the rotation should be done in game.

Maybe I'll just have to wait and see your tutorial again. hahaha

cloud03:
Yup, my climbing animation rotation is the same with the other animation rotation, the rotation are done inside unity...

I'm going to record the tutorial probably later this night around 8 o'clock (GMT +7), so probably tomorrow will already be available on youtube...

BioFan:
Ahh cool, thanks, can't wait to see how you do then.

Seems like my questions are answered by you only in this forum. lol

Anyway thanks for the help again.

Navigation

[0] Message Index

[#] Next page

Go to full version