[help] vector and angles
How do change the velocity to the angle position.
Ex: i change the player angle while he is jumping and he is vector is still the same but i want his velocity to go to the angles position at the same velocity that he was. kinda hard to explain, if you didn't understand i will try to explain again |
Re: [help] vector and angles
Something like this maybe?
PHP Code:
|
Re: [help] vector and angles
how size is related? i'm trying to set the same velocity as the player was but in another direction.
|
Re: [help] vector and angles
Try this:
Code:
@infek That looks like a copy/paste (with a few edits) from blockmaker where it rotates a block model. |
Re: [help] vector and angles
if velocity is the id velocity, the code isn't working well.
your code only works with angles '0 90 0'. i'm trying to teleport a player and keep is velocity to the angles i changed to him. i need the player velocity to be the same but at the direction of the tele_angle this is my code. PHP Code:
|
Re: [help] vector and angles
In that case, do this:
PHP Code:
|
Re: [help] vector and angles
perfect, thank you very much
|
| All times are GMT -4. The time now is 14:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.