diff --git a/EntitiesSamples/Assets/HelloCube/Common/RotationSpeedAuthoring.cs b/EntitiesSamples/Assets/HelloCube/Common/RotationSpeedAuthoring.cs index 66c8d1f08..99f13337f 100644 --- a/EntitiesSamples/Assets/HelloCube/Common/RotationSpeedAuthoring.cs +++ b/EntitiesSamples/Assets/HelloCube/Common/RotationSpeedAuthoring.cs @@ -16,7 +16,7 @@ class Baker : Baker public override void Bake(RotationSpeedAuthoring authoring) { // The entity will be moved - var entity = GetEntity(TransformUsageFlags.Dynamic); + var entity = GetEntity(TransformUsageFlags.Dynamic | TransformUsageFlags.NonUniformScale); AddComponent(entity, new RotationSpeed { RadiansPerSecond = math.radians(authoring.DegreesPerSecond)