Can't rotate imported model

Hi,

I have a prototype game object comprising of an empty parent object and a (cube) child object. The controlling script is attached to the parent object for forward movement and it references the child object for z-axis rotation.

Using a Unity generated cube everything runs as expected, but when I use a model created in Blender (even a simple replica cube) the child rotation no longer works. Oddly, if I manually adjust the rotation of the child object in the inspector the cube rotates.

I added a debug to monitor the rotation of the child object and the vector shows the required rotation, even though the object itself doesn’t rotate.

I should mention that the blender model has been exported to match the Unity axis system.

I’m sure I’m missing something obvious, so any pointers would be much appreciated.

Well you learn something every day.

In the gameobject, I’d disabled the original child cube and added the imported model. Despite the former being disabled, it was still being recognised as the referenced child, hence the rotation script had no effect on the new object.

I just removed the disabled object and all is well.

That’ll teach me :slight_smile:

I have the same problem
then i add box collider on my 3D object.
it works!