The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
When using FadePlayerRollTo screen is shaking
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#1
When using FadePlayerRollTo screen is shaking

the player enters a map (after he fell down a hole) and spawns in the air. he is surposed to have the head tended to the left so i used FadePlayerRollTo. but i want it to be tended instantly. so i put speed and max speed on 100.

void OnEnter()
{
//~                         INTRO
{
    FadeIn(1.0f);
    FadePlayerRollTo(30, 100, 100);
    SetPlayerActive(false);
    SetPlayerCrouching(true);
    MovePlayerHeadPos( 0.25f, -0.7f, -2.0f, 100, 0);
}
}

but when i try to make it faster, the screen is shaking. then i added the MovePlayerHeadPos and it was even shaking when i only used 100 then.

so why is it shaking? thanks Smile

When you are looking for someone, to do the scripting for your Custom Story, ask me!
(This post was last modified: 02-23-2013, 06:24 PM by tonitoni1998.)
02-23-2013, 06:23 PM
Find


Messages In This Thread
When using FadePlayerRollTo screen is shaking - by tonitoni1998 - 02-23-2013, 06:23 PM



Users browsing this thread: 1 Guest(s)