Blender Game Tutorial (2.6) --Part 6 (Adding Mouse Look)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,627
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 11, 2011

Fix: Next to the logic for the empty that adds the projectile, there is a letter 'L' button to the right of the 'add object' actuator. It indicates 'apply transformation locally' on mouseover. Toggle that and the projectile should launch in the direction you are looking.

This is 12 part series is designed for my 7th grade multi-media class.
The python scripts referenced in the video can be found here:

http://linuxclassroom.com/python/

This tutorial is based on the game concept taught by Phymec here:
http://www.youtube.com/watch?v=gxCU9UjR3bw

(This particular project is not as in-depth, but Phymec is an excellent reference point if you are having problems.)

Link to this comment:

Share to:

Uploader Comments (jbeckneisdnet)

  • is this for the lastest blender build 2.6??

  • @PwnageAtEverything 2.6 for this one, yes.

  • @jbeckneisdnet thanks but i want to use this for a first person shooter and it seems not to work how i usally do it. but thank you anyways :D

  • @PwnageAtEverything Let me know if you come up with a solution that works better for you. I'm always interested. You should be able to cap the rotation in any direction and launch projectiles in the direction you are looking. Sorry it didn't work for your project.

  • Yo thanks alot man! 1 thing how do I lock the camera from rotating too much?

  • @majorzakyo There is a 'cap' property you can add. Look at the script. It should be listed in there.

see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • So, if I'm not mistaken; it seems as if whats happening is each of these python scripts are acting as modules and the blender logic editor is taking the modules behind the scene's and adding the code it needs to import the modules threw the activation with the actuators?(I'm new to programing, and I only have a small experience with Visual Basic.(I'm just trying to understand how this works so I can begin to mess around with python via blender on my own and hopefully make my own tut's one day!))

  • Hey, these videos are so helpful. Thanks for uploading. I'll be trying to get into Everest soon, so I can finally get in college. I made the mistake of dropping out of school, but I know Game Design will be what I major in.

    Thanks for the tutorials man!

  • Thank you!!!!!

  • @jbeckneisdnet I changed the values but it still moved too much

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more