playMaker

Author Topic: My cube is flying up  (Read 2153 times)

blueskyline

  • Playmaker Newbie
  • *
  • Posts: 4
My cube is flying up
« 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?

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Re: My cube is flying up
« Reply #1 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.

blueskyline

  • Playmaker Newbie
  • *
  • Posts: 4
Re: My cube is flying up
« Reply #2 on: March 05, 2015, 01:31:42 AM »
Here is my setup.

redikann

  • Full Member
  • ***
  • Posts: 174
Re: My cube is flying up
« Reply #3 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)
« Last Edit: March 05, 2015, 03:26:32 AM by redikann »

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Re: My cube is flying up
« Reply #4 on: March 05, 2015, 03:57:16 AM »
Maybe it's the drag set at 0?

blueskyline

  • Playmaker Newbie
  • *
  • Posts: 4
Re: My cube is flying up
« Reply #5 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.