13.02.2010, 11:19
Hey All !!
I am doing a sport gamemode and i need something.
I have created an object(a ball). I need to set the player's facing angle to this object, but the object is allways somewhere else and i don't know the correct angle.
Is there an useful function SetPlayerFacingAngleToPoint or SetPlayerFacingAngleToObject or SetPlayerFacingAngleToPlayer?
Can somebody help me?
I am doing a sport gamemode and i need something.
I have created an object(a ball). I need to set the player's facing angle to this object, but the object is allways somewhere else and i don't know the correct angle.
Is there an useful function SetPlayerFacingAngleToPoint or SetPlayerFacingAngleToObject or SetPlayerFacingAngleToPlayer?
Can somebody help me?