Grenade throw direction

MarkusKer

Member
Hello,

i am working on my grenade but came across a problem.
If i throw the grenade in the distance the throw direction seems to be normal and the grenade is also landing at the throw position.
But if i throw the grenade right before my feet it gets thrown in the air, in some randome direction. I also looked into it a bit further by standing at an edge. If i look down the edge and the crosshair is right above the edge so the grenade would be thrown right over it it works fine. But at the point where the crosshair points in front of my feet the grenade gets thrown away at some randome direction again.

The same thing happens in the demo scene as well.

Thanks,
Markus
 
Thanks - I was able to reproduce this. I'll have it fixed in the next version.
 
I am having a similar problem, sometimes grenade throws are being thrown in a straight line in random directions

I am adjusting rotation of 1st/3rd person secondary grenade object to set up normal grenade throw arc - is this best practice to get the grenade to be thrown in the direction of the crosshairs?
 
Hello,

i was able to fix the problem.
If the line renderer is activated and the trajector script is attached this problem does not seem to happen.

Thanks,
Markus
 
Top