Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: blueskyline on March 04, 2015, 11:49:38 PM

Title: My cube is flying up
Post by: blueskyline on March 04, 2015, 11:49:38 PM
I have followed the instructions from this video.
But whenever my cube makes contact with anything, it clips through horribly and then starts flying upward. Suggestions?
Title: Re: My cube is flying up
Post by: wheretheidivides on March 05, 2015, 12:53:51 AM
If you would take screenshots that would help.  Windows comes with snipping tool.  very handle.  That way we can see what is going on.  Show the state and its actions.
Title: Re: My cube is flying up
Post by: blueskyline on March 05, 2015, 01:31:42 AM
Here is my setup.
Title: Re: My cube is flying up
Post by: redikann on March 05, 2015, 03:24:50 AM
I admit I didn't watch the video, but not knowing your Unity experience level, what do you mean to accomplish using a Controller Simple Move with a Rigidbody Set velocity? These are two things that simply will not work together. You will need to choose to control your object with physics(rigidbody) or a character controller  (controller move)
Title: Re: My cube is flying up
Post by: wheretheidivides on March 05, 2015, 03:57:16 AM
Maybe it's the drag set at 0?
Title: Re: My cube is flying up
Post by: blueskyline on March 05, 2015, 01:37:30 PM
So I tried a few different numbers for the drag but nothing real changed and the problem persisted. I removed the rigidbody and my jump mechanic stopped working as it requires a rigidbody because it is adding force, but the problem was fixed. So how do I set up the controls using physics and a rigidbody? I would prefer to us physics to give it a more natural control.