Search Unity

Strange behaviour when changing isKinematic in code.

Discussion in 'PSM' started by WilcoB, Nov 7, 2014.

  1. WilcoB

    WilcoB

    Joined:
    Nov 7, 2014
    Posts:
    10
    Is was following this tutorial using Unity for PSM: http://catlikecoding.com/unity/tutorials/runner/

    At a certain point you set isKinematic to true to prevent the player from playing the game while the menu overlay is still visible. The problem is that when you set it back to false, the object doesn't respond to physics. As soon as you set Is Kinematic to true and then false in the inspector, the object starts responding to physics.

    I then loaded the project in the normal build of Unity without changing anything, now the object responds to physics as it should.

    I already reported this bug http://fogbugz.unity3d.com/default.asp?645971_lbn8823f7rgp9m67, but I would like to know if anyone else has seen this bug.