We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f22bb94 + ef6792d commit 119dbe9Copy full SHA for 119dbe9
1 file changed
EntitiesSamples/Assets/HelloCube/Common/RotationSpeedAuthoring.cs
@@ -16,7 +16,7 @@ class Baker : Baker<RotationSpeedAuthoring>
16
public override void Bake(RotationSpeedAuthoring authoring)
17
{
18
// The entity will be moved
19
- var entity = GetEntity(TransformUsageFlags.Dynamic);
+ var entity = GetEntity(TransformUsageFlags.Dynamic | TransformUsageFlags.NonUniformScale);
20
AddComponent(entity, new RotationSpeed
21
22
RadiansPerSecond = math.radians(authoring.DegreesPerSecond)
0 commit comments