I’m having problems getting my player obj. to move. I’m making an infinite runner game, got the script written, but I get two errors, not sure what is wrong, here’s the two errors
(24,45)error CS1501: No overload for method AddForce' takes 2’ arguments
(37,37)error CS1501: No overload for method AddForce' takes 4’ arguments
What I’m trying to do is get the player obj to run and jump, with a double jump. The running has to be always going, and jumping with a button press.
Thanks for the help.
I apologize if this has already been asked, I did a search and didn’t find any answers.
Ok, I read the scriptReference and I took out one of the 0f, and other things and I still get the same errors, I’m not sure how to get it to work. Help would be appreciated.
Thanks for both of your help, I wasn’t understanding what it was telling me. My errors are gone, now the player just falls off the screen when I hit play.
Let me quote what your bible says about Rigidbody2D.isKinematic: If this property is set to true then the rigidbody will stop reacting to collisions and applied forces.