Quote:
Originally Posted by GsiX
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];
GetEntPropVector( rocket, Prop_Data, "m_vecVelocity", vecVelocity );
vecVelocity[0] *= -1.0;
vecVelocity[1] *= -1.0;
vecVelocity[2] *= -1.0;
SetEntPropVector( rocket, Prop_Data, "m_vecVelocity", vecVelocity );
you may also try
PHP Code:
TeleportEntity( rocket, NULL_VECTOR, NULL_VECTOR, vecVelocity);
|
Thanks, i wasn't know i can do with negate velocity value, (vecVelocity[1] *= -1.0; for Yaw so i should change that)
__________________