hey … i’m done with most of the physics for my little game project, but i’m stuck with a few problems now … i’ve also been trying to dodge python scripting through the development process, but the deeper i get, the more probable i am to run into to it … so, i’m diving in!
ok, the problems i face now are :
- the player is influenced by physics, it is a rigid body … so, it inevitably collides with other objects in the game and its orientation changes … ive managed to constrain it in the 2d plane by using the 2d limiter constraint to the armature of the object. I need to find a way to restrain its its rotation. The object is animated and it does rotate in the animations.
2)I want to animate an explosion when and where the projectile hits any object.
3)how do i make more than one npcs??? i duplicated the npc and moved it to another location. when i hit ‘p’ , the duplicated nps come together to the same location and entangle in physics frenzy … why is this happening??
- i want to limit the number of projectiles the player can shoot per unit time. the empty that creates the projectile object is a mouse left key sensor, TRUE level triggering, with a frequency of 40. it works perfectly if you keep the mouse pressed, but if you tap the mouse repeatedly, the frequency is beaten and the thing shoots at a faster rate. how do i beat this??
ive added a screen too …