Hi,
I want to create a projectile somewhere in the air and add a force to it in a
way that the projectile shoots away in a given direction.
What I did:
- define gravity (-385) for earth like gravity
- box physic for collision and rotating
and finally I played around with numbers
Code:
phent_addforcelocal( pThrow1, vector( 200,2000, 20000),pthrow1.x);
to make it fly.
But it allways falls down if it is above the ground.
The projectile is created in a passable object.
If I create two projectiles at the same position the explode away in two opposite directions (1 down 1 up), I really only need the up one.
Any ideas?
-- slacer