Hey guys I’ve found way to make character climb ledges without using python script
It’s not so clean i know but still … it works fine;)
Actually i too don’t know how to write a script:o
It is for those who don’t like scripting and prefer logic bricks instead and its quite easy
have a look:eek:
Now you can download The example file:D:eek::yes:
I’ll upload tutorial too very soon
Till then try to understand from this file:spin:
Sorry about the animations and model are not so good :o
ignore this attachment it’s same as above
control box of my object has an empty as a child on it’s top which sends a ray in a short distance and senses if there is ledge in front of player [[actually ledge is an object which is a flat cuboid over real obstacle with property ledge]]
then it send message to control box
on receiving it control box switch its state
in the new state it’s dynamics are suspended and it offers motion on z direction [0.1]
after a short delay say 45 it offers forward motion on y [-0.1] axis and also negative motion on z axis [-0.1] to null the upward motion
then after some more delay say 55 it switches back to state 1 ,restore dynamics and also offers a backward motion to null forward motion
Why do you wanna do it without python? It offers way more freedom and allows for more complex systems. You should definetly learn it, it’s really not that hard
I try to never use the logic bricks, they are messy and don’t do things the way I want them to, and with python scripting you can do almost anything