Velocity of arrows decreases too much
#1
Hello

I want to rise the frequency with that one shoots arrows with a bow (imagine a machine gun). But if I spawn arrows manually they don't behave like "normal" arrows because the velocity decreases much more. Also, how can I get the arrow-shooting animation of the arrow?

I have to following code in the HOOK_PLAYER_RIGHT_CLICK:
Code:
Pos = Player:GetThrowStartPos()
Speed = Player:GetThrowSpeed(30)
Arrow = World:CreateProjectile(Pos.x, Pos.y, Pos.z, cProjectileEntity.pkArrow, Player, nil, Speed)
return true


I am trying to solve this for hours, so thanks in advance Smile
Reply
Thanks given by:


Messages In This Thread
Velocity of arrows decreases too much - by exapro - 05-21-2016, 03:52 AM



Users browsing this thread: 1 Guest(s)