Velocity from player eyes.
Hi, how to throw grenade from player eyes position?
|
Re: Velocity from player eyes.
Perhaps velocity_by_aim()?
|
Re: Velocity from player eyes.
Quote:
But I will try again. |
Re: Velocity from player eyes.
I don't think so. If it flew from the hand, it would be the attachment origin, not the aim origin. However, you may try this:
PHP Code:
|
Re: Velocity from player eyes.
Quote:
PHP Code:
|
Re: Velocity from player eyes.
Well, in that case:
Code:
new Float: fvAngle[3]; |
Re: Velocity from player eyes.
KliPPy, anyway =(
http://www.youtube.com/watch?v=1rLZi...ature=youtu.be |
Re: Velocity from player eyes.
So, you mean it is offset a bit to the left? You could've said it at the beginning...
I don't think its the problem in the code, but in your model. It could have wrong origin. Try testing it with another model that you are 100% percent sure it has centered origin. |
Re: Velocity from player eyes.
Quote:
|
Re: Velocity from player eyes.
Thank You again, I found correct models.
|
| All times are GMT -4. The time now is 17:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.