advanced platform functions
forklift
Member Posts: 386
1. I want my player to be able to grab the side of a ledge. The best way I can wrap my head around this is to have a hidden actor at the side of the ledge that detects player collision.
This doesn't really work because I can't figure out how to make an actor detect the location of the player relative to it.
For instance, if the player is jumping up to grab the ledge from below and he touches the invisible actor, it would trigger a 'grabbing ledge' animation. However, if he were to jump onto the ledge from another and land just on the edge, he wouldn't need the ledge grab animation, but it would trigger anyway because player is standing on/colliding with the trigger actor.
2. Walking on ceiling. I can find no good way to even dream up how to make a character stick to the underside of a platform, let alone be able to walk all the way around it.
Any pointers on these two issues please? Even possible in GS?
This doesn't really work because I can't figure out how to make an actor detect the location of the player relative to it.
For instance, if the player is jumping up to grab the ledge from below and he touches the invisible actor, it would trigger a 'grabbing ledge' animation. However, if he were to jump onto the ledge from another and land just on the edge, he wouldn't need the ledge grab animation, but it would trigger anyway because player is standing on/colliding with the trigger actor.
2. Walking on ceiling. I can find no good way to even dream up how to make a character stick to the underside of a platform, let alone be able to walk all the way around it.
Any pointers on these two issues please? Even possible in GS?
Comments
Acc per actor down or up as needed.
Your jumps will work better too.
Gravity only applies accelerate to all objects anyways.
A physics engine style setup is not the way to go for platforming.