Does anyone have any scripts for movement? The sort of movement I am trying to achive is FPS style movement where you choose your direction with the mouse and move with the arrow keys/wsad. Ctrl for jump. I have tried using the logic bricks in the blender game engine but the movement is really bad because their is no mouse component. Does anyone have any scripts that I could use that would allow me to use the controlls described above?
I am quite new to this, I can move the camera behind my character then what do I do? I am wanting the mouse to choose the character’s direction and the arrow keys to move forward and backwards and strafe left and right.
What does it do? I have done what you say i think (although do i click the character first then the camera when setting up parent object or the other way round)? But it does nothing.
Ok,
I still have the camera problem. ButI have got the guy to turn left way by moving the mouse (in any direction) but i can’t get him to turn right. The settings in the logic bricks are ///Sensor: Mouse - movement ///Controller - none ///Actuator Motion d Rot y axis.
I was wondering if anyone could direct me to some python scripts (for the controller?) that could help resolve this.
Okay. First, to just get a little look at what you are doing. make a cube. set the logic bricks so that the forward key makes him move y+0.1. Make it so that Left and Right make him turn: rot Z-0.10, Z 0.10. Then Select the camera, and then hold shift and right click the Cube. Hit ctrl+P and then hit P. You should now to able to move the character. It should not look like you are moving the cube. Go back into Blender and make a floor. Then if you hit P again, you should see that you are actually moving around. You need to master this technique before you make an FPS, because if you don’t get those steps down, you will be very frustrated. I might want to write a tutorial on different types of movement. Good Luck.
You say none for the controller? So you dont even use an ‘and’ controller? You need to connect the sensor with the actuator with something.
You are looking for a 3rd person camera, do a search for it here and in resources. There are many available to choose from.
One way to learn for this forum is to just go through and read the posts. Many will not make sense to you. Thats ok. When you run into the same thing you will remember reading about it here and can come back and find it.
It gets boring, thats true. But little by little you will ‘get it’. Perhaps start with the threads in the resources first?
Ok, all the scripts I have found so far have been for 1st person shooters(or not what I was looking for). Mine is a 3rd person game, does anyone know of any scripts that I can use that have a 3rd person view? I took a look at the 3rd person template on this site but I dont want the camera to move like that, I just want it stationary behind the guy. So basically i just want a script that rotates the guy right when you move your mouse to the right and left when you move it to the left.