I couldn't seem to find any videos on how to do this. I'm making a game and I want it so when I walk or run the camera shakes. how do I do this


You can make an animation with the camera. Click this little red button in the timeline. Automatic Keyframe Button(That inserts keyframes automatically when something is moved.) Select the camera, press alt + a to start the timeline, press g to grab it, and shake it around. press escape when you are finished. You can do this a much more sophisticated way, of course. :) Save your action. In the logic editor, use whatever sensor that causes you to run and link it to the action actuator also (where your camera is animated.) Remember to set the beginning and end keyframes to be where you had started and stopped the shaking. If you want a much more controllable way to do it, try using something from this video: https://youtu.be/PU_uhfO1Bsk

Hope that helps. ;) Tell me if you need more information. It would be a good idea to add more information to your question as well.

  • $\begingroup$ Yeah, it's not exactly what you are looking for , but it might be helpful. :D $\endgroup$ – DaDudeII May 19 '18 at 0:36
  • $\begingroup$ I did what you said but I have a problem. after the animation ends, it goes to the beginning. But in that split second the animation stops and looks really bad. $\endgroup$ – Gibbleman May 19 '18 at 1:56
  • $\begingroup$ sorry it is really hard to explain $\endgroup$ – Gibbleman May 19 '18 at 1:57
  • $\begingroup$ actully i might have fixed it. thank you for you help $\endgroup$ – Gibbleman May 19 '18 at 2:01
  • $\begingroup$ I'm glad you figured it out. No problem. ;) $\endgroup$ – DaDudeII May 19 '18 at 2:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.