- Home /
Staying on a floating plataform
Hello, I already code a simple object and it moves towards a floating plataform(its a simple rectangle), I already put some animation to that plataform to move from one point to another and it loops, but my question is how to make the character object to stay in that plataform, because the player has to move forward to keep on the plataform, if not it falls.
Im using CharacterController.SimpleMove. to control the character object.
Thanks =)
Answer by Peter G · May 08, 2010 at 11:09 AM
This question has been answered in several different places. I'll link you to them. Basically you can either move the player up slightly every frame (thats how the 2D platform tutorial does it) or you can parent the elevator to the player and then unparent them when the player gets off.
Answer by Revan · May 08, 2010 at 04:18 PM
Thanks for the information PeterG, Im working on my code right now.
Glad to help, please post comments like yours as a comment below your question or someone else's answer, ins$$anonymous$$d of as another answer.
Your answer
Follow this Question
Related Questions
Object floating 7 Answers
Randomly floating GUI Texture 1 Answer
Hovering smoothly at one height 1 Answer
Player floating on the ground 1 Answer
Character Floating in terrain/Grass 0 Answers