You can use pPlayer->EyeVectors(&vForward)

J.

2009/5/1 Dan Clark <[email protected]>

> Vector vecAiming = GetAutoaimVector( 0 );
>
>    SetAbsVelocity(vecAiming * m_thrust);
>
> I am trying to move a player forward with a specific "thrust" or speed.
> It doesnt seem to work inside hl2mp_player.cpp;
>
> GetAutoaimVector( 0 );  is giving me trouble. Is there another way?
>
> --
> Best regards,
>  Dan
>  http://www.lnxmad.com
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


-- 
-------------------
j...@nek
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to