Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Zersion on January 12, 2018, 01:00:33 AM
-
Hello everyone.
I am using add force 2d for one of my characters to jump. But whenever I press the button, the player technically teleported to the middle of the air, instead of gliding to a higher y position smoothly. I have done several experiments with force in add force 2d, mass and gravity in rigidbody 2d, and I found out that no matter what they are the character still only teleports instead of "jumping". Is this just a glitch? Or I should be able to fix this by adjusting some settings?
-
Hi,
You have probably some wrong settings.
Can you show your fsms/states/actions (images/or video)
You can also maybe check this tutorial to get you stated :
http://hutonggames.com/playmakerforum/index.php?topic=5671.0
There are also many tutorials on the User Tutorial Wiki (https://hutonggames.fogbugz.com/default.asp?W548) page.
-
Thanks for replying.
Here is my FSM
-
And here is my rigid body 2d settings.
-
Physics 2d settings
-
Hi.
On rigidbody set 'Gravity scale to 1
and on the 'Add Force' action, set the y value to about 200.
Then adjust slowly the value to your needs.