Hey guys... i have a question involving the use of gravity for jumping and landing. I am setting up a prototype character control and camera system which is similar to games like Street Fighter, where the edge of the screen will stop player movement. At the moment, the jump state executes correctly, but the landing state doesn't happen (which I just want it to use a gravity vector and return to the ground).
So I moved the states for gravity to the jump state and while the character jumps, and comes back to the ground, the capsules starts bouncing erratically. Is there a way to set it up so that the character will come back to the ground from the start point (mainly looking for the ground)?
Also, is there a way that I can set up the camera to stop the player at the edge of the screen when they move too far from the opposite player (will probably have the system looks for two objects to compare the distance to and it will zoom back a little too). As well as rotate up a little when the players jump?... Thanks a bunch guys.