playMaker

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

blueskyline

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
My cube is flying up
« on: March 04, 2015, 09:49:38 PM »
I have followed the instructions from this video.
https://www.youtube.com/watch?v=od78RhlLXUI&index=3&list=PL727CB9763F77BDE0
But whenever my cube makes contact with anything, it clips through horribly and then starts flying upward. Suggestions?

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
    • View Profile
Re: My cube is flying up
« Reply #1 on: March 04, 2015, 10:53:51 PM »
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
    • View Profile
Re: My cube is flying up
« Reply #2 on: March 04, 2015, 11:31:42 PM »
Here is my setup.

redikann

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

wheretheidivides

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

blueskyline

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: My cube is flying up
« Reply #5 on: March 05, 2015, 11:37:30 AM »
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.