View Single Post
J0BL3SS
Senior Member
Join Date: Sep 2020
Location: Turkey/Istanbul
Old 12-21-2020 , 11:01   Re: [TF2] Turning Rockets 180 Degree HELP
Reply With Quote #5

Quote:
Originally Posted by GsiX View Post
i am just giving my two cent. i personally never try but you may test negate the velocity value like so.

PHP Code:
float vecVelocity[3];
GetEntPropVectorrocketProp_Data"m_vecVelocity"vecVelocity );
vecVelocity[0] *= -1.0;
vecVelocity[1] *= -1.0;
vecVelocity[2] *= -1.0;
SetEntPropVectorrocketProp_Data"m_vecVelocity"vecVelocity ); 
you may also try

PHP Code:
TeleportEntityrocketNULL_VECTORNULL_VECTORvecVelocity); 
Thanks, i wasn't know i can do with negate velocity value, (vecVelocity[1] *= -1.0; for Yaw so i should change that)
__________________
My Steam Profile
My Discord Name: J0BL3SS#5320 | j0bl3ss

I don't really look at steam or alliedmodders, contact me from discord if you need it.
J0BL3SS is offline