- Home /
2d Ladder with character controller
ok i have character controller and it climbs well on on ladder, gravity is off etc etc...but the problem is getting onto the above platform after climbing. im always colliding with it and falling back down :(((( HELP PLEASE
Answer by aldonaletto · Apr 24, 2012 at 11:59 AM
I would try to climb the ladder with transform.Translate instead of using character.Move - collisions are not detected when moving the transform directly, thus you could pass through the platform. You could for instance create a trigger covering the ladder volume: OnTriggerEnter turn ladder mode on, OnTriggerExit turn it off; while in ladder mode, the vertical control is performed with transform.Translate.
The actual implementation depends on the character movement script - are you using the First Person Controller prefab?
Answer by samz · Apr 24, 2012 at 05:23 PM
Good idea. Ill change the script a lil and ill get back to you. Im using the slidecontroller one. Ok so ill use yr transform idea, but is it ok to use the move function and the trransform in my script? It shouldnt be a problem shud it?
Your answer
Follow this Question
Related Questions
How can I make two Character Controllers Collide 2 Answers
Collider not continuing to Ignore CharacterController after center changes. 0 Answers
How do you get an event to call when too Character Controllers hit. 1 Answer
Is there an equivalent to OnCollisionExit for OnControllerColliderHit? 1 Answer
Is there a rigidbody character controller 3rd person that can handel stairs (steps)? 1 Answer