Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: coffeeANDsoda on January 24, 2015, 10:55:38 PM
-
Heres the problem I having with the game objects rigidbody for my game. When I have a Is Kinematic action to turn off in another state on my object during runtime or gameplay, it's like the object launches into the air like a rocket. What does this happen when I want a object to drop to the ground?
-
I'm still stuck on this, could someone help me with this problem?
-
You should probably need to play with the rigidbody. Try something more heavy, you will see if it change something.
Can you attach a picture of your gameObject?
-
You should probably need to play with the rigidbody. Try something more heavy, you will see if it change something.
Can you attach a picture of your gameObject?
This is what I have when I try to drop it in the project.
(https://db.tt/lWan1mMu)
-
turning on IsKinematic to an object attached with a rigidbody makes that object be not affected by other physics objects in the scene.
e.g for moving/dynamic objects that has physics you should turn off iskinematic and for static objects eg platforms,walls you should turn it on
-
When I turn Is Kinematic off by checking off Is Kinematic box from the Set Is Kinematic in another state I get the same results.
So when I press a key after Move Towards action in the second state(given the FSM has the first state with a trigger event) and then having to going into the next state with the kinematic action, I get the same results like in the pic I posted above.
-
simple thing you need to know about physics is you need to set is kinamatic only you if the game object should not respond the physics
say if you need your object to go in to the air and come back again you need put force in a direction generally y
if the game object need to come back to the normal position then set it 0.
-
So would you say add force in the same state as the kinematic action would solve the problem if the Y axis in that action is set to 0? Since the objective is for me to make a object just drop to the ground that's why I ask.
-
this is easy action i am attaching scene.
check