[ H3LP ] Something like velocity_by_aim ?
Hello, exists something like velocity_by_aim? I need this because I'm creating a wall climb, but I want move the player with the W, A, D keys, dont only with W.
|
Re: [ H3LP ] Something like velocity_by_aim ?
|
Re: [ H3LP ] Something like velocity_by_aim ?
I tell something like, dont the velocity by aim. I need speed to the move direction, dont aim position.
|
Re: [ H3LP ] Something like velocity_by_aim ?
You said exactly that... Check if the player is holding the A/D keys and move him in that direction. You can check and see how a wall climb plugin works.
|
Re: [ H3LP ] Something like velocity_by_aim ?
Tryied with entity_set_vector(id, EV_VEC_velocity...), but have some mistakes. Only work correctly with W key...
|
Re: [ H3LP ] Something like velocity_by_aim ?
Left is negative , right is positive
PS : this idea is similar to call of duty advance warfare player boost jump PHP Code:
|
Re: [ H3LP ] Something like velocity_by_aim ?
Quote:
Quote:
|
Re: [ H3LP ] Something like velocity_by_aim ?
Thanks Natsheh, worked perfectly.
Results in my next aliens vs predator :D |
| All times are GMT -4. The time now is 17:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.