Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: ciyo on June 24, 2013, 05:39:12 PM
-
Hey everyone!
I am working on a simple task. When user press the space, I call add force and apply force on the main character to jump.
States work well; however, the force cannot be applied on the character. If I increase the force (for examle (0, 1e+14, 0 ) ) or decrease the mass of the character ( for example 1e-07 ), the character start shaking.
Rigidbody has default values.
Thank you for your helping!
-
To add force to to a rigidbody body, you need to add some serious power. Just to get it to move up on the Y-Axis for a basic rigidbody, I need to set the Y-Axis Force to 500.
Could be a better way to do this, but I'm still new to playmaker. Hopefully this helps a bit.
-
Just to negate gravity pulling the object down you need to add force of about Mass * 9.8 on the Y, so if your rigidbody has a mass of 10 then you need 98 force just to make it float and not move down. With 200 force, it would steadily move up.
I don't think you can input engineering values into the fields. I haven't had any trouble with regular numbers or floats.