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

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

Hello, I took a long break for my cs.
I finally tried to create one map.
The point of the map was, showing the "exo" abilaty.
If you jump on a certain area, you use your "Exo suit" and fly high, and a little bit forward.
I already made the sound etc.
but the thing is, this is the code ;
AddPlayerBodyForce(0, 0, 0, true);
Now, the first zero, is for Up and down, seconds is left and right, and last one if forward, or backwards.
Somehow, I CAN'T make the player jump even "A little bit" high.
So even if I had it like this
AddPlayerBodyForce(100000000000000, 0, 0, true);
It wouldn't work, Now my question is, is there something I need to do, or does this simply NOT work, because if this, is not gonna work, i'm really gonna take a break for like year, this map I made can make me so aggresive, if I can't do what I wanted to do, and nope there is "no way' to make this "happen" with something else, I mean having a big long rope hanging on a cliff won't be realistic xD

AND I tried everything I could, all numbers, with or without " - "
09-26-2015, 03:44 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)