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
Addbodyforce doesn't work?
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#3
RE: Addbodyforce doesn't work?

(09-26-2015, 05:08 PM)Mugbill Wrote: The first number is not up/down. That's the second number. It goes by XYZ axes, so the first is X and the second is Y. A negative Y value would equal up (usually).

If you say you've tried them all to no result, are you sure the line is actually executed? Can you show the code?

Oh, I just noticed that, altho if I use the second line, it still jumps to the left or right, meanwhile my script is like this :

void OnStart()
{
AddEntityCollideCallback("Player", "EXO", "ExoJump", true, 0);
}



void ExoJump(string &in asParent, string &in asChild, int alState)
{
PlayGuiSound("Boost_Jump_01", 1);
AddPlayerBodyForce(0, 1000000, 0, true);
}

I can't lower it, since you have to jump VERY high... I still don't understand why I move left automatic....
09-26-2015, 05:17 PM
Find


Messages In This Thread
Addbodyforce doesn't work? - by Amnesiaplayer - 09-26-2015, 03:44 PM
RE: Addbodyforce doesn't work? - by Mudbill - 09-26-2015, 05:08 PM
RE: Addbodyforce doesn't work? - by Amnesiaplayer - 09-26-2015, 05:17 PM



Users browsing this thread: 1 Guest(s)