I would like to change objects behaviour in runtime. For example, change Sine behaviour to Physics for an object on some conditions. How can I do that from js?
I found isEnabled property on object's behaviours, but direct changing it to false does nothing.