Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Breaking the law of gravitation :p

Discussion in 'Physics' started by sarthakz9, Jun 4, 2015.

  1. sarthakz9

    sarthakz9

    Joined:
    Jun 3, 2015
    Posts:
    19
    Please help guys..
    I have 1 rigid body :sphere and a cuboid ....sphere is kept on cuboid sphere can move around and cuboid can rotate...now the problem is, when I rotate the cuboid and remove it, from below the sphere, the sphere keep floating (gravity enabled) ...and when I move it, it drops...soo what is the solution??
     
  2. MitchWardle180

    MitchWardle180

    Joined:
    Mar 16, 2015
    Posts:
    2
    Perhaps you could disable the Box Collider on the cube then destroy the object, or when you destroy the cube move your sphere up in the Y axis by 0.01 or something
     
  3. sarthakz9

    sarthakz9

    Joined:
    Jun 3, 2015
    Posts:
    19
    what are u talking about ?? if i will disable the collider, the sphere will fall ,the moment i run the scene....
    i think you haven`t understood what i`m saying...

    its a problem ,,,,, something related to late calculation by physic engine..my sphere is floating even when cube is not below it.... and the moment i try to move it.... it start falling
     
  4. MatthewW

    MatthewW

    Joined:
    Nov 30, 2006
    Posts:
    1,356
    sarthakz9 likes this.
  5. sarthakz9

    sarthakz9

    Joined:
    Jun 3, 2015
    Posts:
    19
    yuppp..... problem solved... thank you matthew :)