Jump to content
  • Advertisement
  • entries
    743
  • comments
    1924
  • views
    584376

Edge Shimmy

Sign in to follow this  
Aardvajk

868 views



About time I updated here. Been working on edge grabbing and shimmying. Animations are a bit pants but the basic actions are working okay.

Shimmying thankfully uses the same edges I generated for the edge walking in previous entries here. I just use a closest point to line method to check whether both hands are within range of an edge, then generate an edge based on the positions of the ends and the normal. Player rotates to face the normal and then can shimmy along by just trying to move the player along the edge in the requested direction with a test to see if the new position also has two valid hand positions.

It works okay, although the behaviour is a bit odd as you move from one shape to another. Need also to work out a way to lock you properly to the end of the ledge, and to stop you entering shimmy mode if there isn't room to move, but the basic idea is there.

Nice thing about this more cartoony style of jumping is I'm freed from making complicated "climbing up" animations. Actually jumping up or away from a grab position is literally just a case of switching into the jump state, so that is quite clean and looks good I think.

I'm using CamStudio for the videos by the way, since there was some recent discussion about screen capture. Very easy to use and acceptable results without any frame rate loss while recording.
Sign in to follow this  


2 Comments


Recommended Comments

It's about time I post a comment here (instead of just voting up). You provide some interesting read lately, and show an impressive progress. The entries about the edge handling was quite intriguing.

 

I only recently got into animation thanks to Buckeye's article, so I can remotely imagine the lot of work you are doing here.

 

Keep it up.

Share this comment


Link to comment

Thanks unbird. Actually the animation is pretty self-contained and runs itself now. Its the nasty corner cases of the physics that are proving tricky.

 

I'd never recommend rolling your own physics and character controller unless you are a masochist like me.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!