Pelle Johnsen made a quick tutorial on how to easily setup a FPS controller for the Blender Game Engine with simple physics. It's very useful to see how a model behaves in a game like setup.
Or you can download the .blend file.
Pelle Johnsen made a quick tutorial on how to easily setup a FPS controller for the Blender Game Engine with simple physics. It's very useful to see how a model behaves in a game like setup.
Or you can download the .blend file.
14 Comments
Cool.
Oh my God, THANK YOU! I've been searching for information on this for literally 6 months and no one could answer my questions! I kept having problems with my character going through walls. I'd hug you if I could!
@Alexis
Ha ha ha!! I love it when that happens.
Thanks for the tutorial!!
this goes through the walls too :(
This is excellent, it's nice to see BGE related news.
Endi: Did you do what the guy suggested about the sub-steps? I haven't had issues with it going through the wall.
Thanks for the comments.
About sub-steps, increasing this can sometimes be an easy fix, but it comes at a cost (performance). You may also try subdividing your meshes to avoid too large (relatively speaking), or elongated faces.
I should also note that this setup is quite simple and far from perfect, e.g. try to keep jumping while in the air :)
Blender game engine rocks.
The result of the link to the script is showing me huge amount of none sense of repetitive writing: nothing resembling a .py script.
Is it because of the language it was written?? Or a bad link. The following is part of it just to show you.
>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ßß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ß77>ßß77>ß77>ßnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿÿnn|ÿß77>ß77>ßÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿÿß77>ß77>ßnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn|ÿnn
Thanks Pelle, very useful. The simpler, the better.
Very interesting. I would have liked if he had talked more about the logic setup, but I guess it is unnecessry in the end. :)
@TheElwolf: Not sure, but sounds like you are trying to open the file as a python script. The file is a full .blend file. If you want to see the python code, just open the .blend file and go to the text editor. Hope this helps :)
@Nicholas: Should probably had mentioned this before, but you can find the explanation of the original mouselook setup at Clark Thames site: http://www.tutorialsforblender3d.com/Game_Engine/MouseLook/MouseLook_First_1.html
Ok .. does anyone else have problems with this using Blender 5.63? Whenever I move the mouse it goes all over the bloody place.
too bad you can get the file, would be nice to use it