I want to make a control scheme similar in control to the tomb raider legend series and I was wondering if someone could explain to me how to create ledges that you jump and grab.
I know that you need to create a state for hanging from the edge and that you use a volume with a material to activate the state. all I really need to know is how I can dynamically turn of and on gravity depending on state. the set up could be as so:
state 1, in air, gravity = -9.8. If touch [GrabLedge] then state 2
state 2, hanging, gravity = 0. if pressed space then state 1
I know there will be tweaking (such as making sure when you choose to drop that you don’t just grab the ledge again straight away) but all i really need to know is how to turn on and off gravity at will.
Thanks for the help or if anyone knows another way of doing it I would love to hear it.
Rory