Here is the scenario (Unity 5.5f1 64bit):
Objective: I am trying to simulate a throwing effect
- A script spawns a bunch of cubes.
- I click a cube and it is positioned at a default position (transform.translate in Update()). isKinematic is false as the cube is positioned above the ground.
- I click a sphere to trigger an explosion that hurtles the cube. isKinemetic set to true.
- I find the same cube and click the cube but instead of going its default position, it disappears
- I click the sphere and I unsurprisingly get null exception, object is destroyed
- I click another cube and it works fine
problem: I cant throw cubes that have already been thrown.
What am I doing wrong? Is this a bug? is there a fix?