Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about, FadePlayerRollTo
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#3
RE: Question about, FadePlayerRollTo

void FadePlayerRollTo(float afX, float afSpeedMul, float afMaxSpeed);

Rotates the position of the camera on the player's body.


afX - angle of rotation of head, positive being counter-clockwise
afSpeedMul - speed (possibly acceleration) multiplier of the rotation (default 1, which is really slow)
afMaxSpeed - maximum speed of rotation

If you inspect it closely -> Then Angle of rotation is how much you rotate to what angle.

afspeedmul means how fast you want to slow it. More you put, faster it goes. If you pit it too fast, it will start vibration as it can fix itself to your desired rotation. Reduce it smaller Smile (Not sure, but I think so)

afMaxSpeed -> I am not sure of that myself, but i guess you should use same as afspeedmul

The Interrogation
Chapter 1

My tutorials
(This post was last modified: 02-05-2012, 12:19 PM by Elven.)
02-05-2012, 12:18 PM
Find


Messages In This Thread
RE: Question about, FadePlayerRollTo - by Tiiwh - 02-05-2012, 10:19 AM
RE: Question about, FadePlayerRollTo - by Elven - 02-05-2012, 12:18 PM



Users browsing this thread: 3 Guest(s)