Skip navigation

Category Archives: Jumping

Since my last post I’ve upgraded to Unity 3.5 and messed around with some of the number for jumping which makes it feel much nicer now the gravity and jump velocity have been tweaked.

Today I’ve been listening to the Black Keys – Lonely Boy: http://www.youtube.com/watch?v=a_426RiwST8. Lots.

I’ve been looking into getting the rope physics working and I came across this: http://forum.unity3d.com/threads/36503-Grappling-Hook

which led me to this:

http://unity3d.com/support/documentation/Components/class-SpringJoint.html

So I’ve just been playing around setting up Spring Joints in a test level. Looks pretty promising 🙂 Watch this space…

Now have double jumping working, which I did yesterday. I feel a bit hung over from Sarah P’s house warming to do any meaningful coding today, although I really want to add the ability to change your direction mid jump.

I’ve looked up some cartoon references for the spider and the fly characters and have drawn them in Flash:

Boris

Collectible/ Edible Fly

I will create some different versions and see if I can improve on them another time but they’ll do for now.

http://unity3d.com/support/documentation/ScriptReference was very useful this morning for checking all the things I probably should know but don’t.

I used: http://unity3d.com/support/documentation/ScriptReference/CharacterController.Move.html to redo my movement and get jumping working. I painstakingly deconstructed it and wrote it out myself to make sure I understood it and I’m now playing about with it to get double jumping working.

I’ve updated my player character so its now just a plane. Initially there was an issue with needing to rotate the plane so it was facing the camera, which messed up the movement controls. I solved this by adding the Plane as a child of the player object so that its rotation doesn’t affect the Player.

Jump around. Jump around! Get up! Get up! Get down! And so forth.