Game camera?

Hello, I’m trying to figure out how to make the camera when you press “W” to walk forward. How to make the camera bump up and down and loop while doing so. I could probably figure out how to do this in Blender 2.49 but I’m a bit of a noob again.

The camera can’t be animated with the action editor since that just applies to bones am I right? So I used the graph/F curve editor. I animate the bumping motion and add a bit of logic in the camera that sais when you push “W” the camera will loop the bumping animation.

When I test play it does bump but it animates exactly in the point in space where it was. It doesn’t animate following the position of the objects it’s parented too. I tried to click the different options in the logic tab. But nothing fixed it…

You understand what the problem is? You think you know how to fix it?

EDIT: NVM my bad…the keys had fcked up :wink:

I don’t know what happens with your camera. I tried it and it works fine. Maybe you have parent the camera to the cube. Look at my blendfile.

HG1

Attachments

Camera F-Curve.blend (441 KB)