Hinge + Slider

alejandro

22-08-2006 06:27:12

I am tring to make that my character climb a tree like in donkey kong ,
i found helpful used the Hinge , its turn around the tree like i want , but i cant move up the charater,
so i tried to used a slider joint , i can move up and down , but i cant turn around , is there any form to use the hinge + slider . or something like that??

walaber

22-08-2006 09:00:27

the "corkscrew" joint does this. I'm not sure if I wrapped the Corkscrew joint in OgreNewt... but it would be easy to add... it's implemented just like the universal joint.

alejandro

09-09-2006 05:54:34

Where is the Corkscrew?? how i can make ?

can you be more specific

is any way that my charater stick to the tree and can turn , or climb?? the tree , like donkey kong

Any ideas??

walaber

09-09-2006 18:03:43

the Corkscrew joint is part of the Newton API, but I did not create a class that wraps it in OgreNewt. it is VERY similar to the Universal joint class I created, so if you copy the structure of that class, you can make a Corckscrew class easily. refer to the Newton SDK documentation for more.

alejandro

10-09-2006 05:58:27

ok , i am gona try that , thanks for your help