hello im making a game and im wanting the player to shoot. i got this tutorial http://www.mediafire.com/file/h2zqm2...20camera.blend. i did tryed doing exactly what this person did in this tutorial but i could’nt get the player to shoot.
The download link did not work. You can’t copy and paste the Mediafire links in this forum.
Upload your last blend file, then I have a look on it.
ok ill go get it.
- The bullet must be on a hidden layer. Select the bullet press the M key and select a other layer.
- On the bullet you need a speed. On the bullet connect a always sensor to an and and the and to a motion actuator apply on the bullet a speed. Then the bullet fly away.
- For realistic bullet physic you must change the bullet from static to dynamic and apply a linear velocity or force.
- Your bullet have to much polygons. That is not necessary and slows down the computer.
- If you scale the bullet or objects then the collisions mesh did not scale, you must apply the scale and the rotation (CRTL+A) on all objects. If you have applied the scaling to a dynamic object you must change the radius in the game logic that it fits to your body. You can see the radius when you switch to wire frame view.
- You should always make all objects view in the same direction otherwise you must always have to change the ray direction an so on.
Here ist the changed file. http://www.mediafire.com/?y50obn6mzljbyc0
i did what you said and i tryed copying what you did to my file but it seem to work i wanting see if you could check my faults and my player falls through the ground http://www.2shared.com/file/7MqG8c3U/food_fighters_map_shooting_tes.html
- You must apply the scale and rotation to you player collision box and your sphere (CTRL+A). Read Point 5. in post #5.
- You have forgotten to type in Sphere.002 in the Edit Object actuator.
thanks HG! it worked. the only reason i was having trouble understanding what to do at the scale and roatation is that i was’nt reading it properly and i though you wanted to just press a not control to select them all. then rotate and make them all a bigger scale. i need to learn to read what im reading properly