I am rotating an entity loaded from Reality Composer with the below code. I expect that the sphere will simply rotate. However, I am left with both the new rotated entity and the old entity. Thought this would be simple.
What do I do to just rotate an entity without duplicating it?
ball?.transform.rotation = simd_quatf(angle: GLKMathDegreesToRadians(90),
axis: SIMD3(x: 0, y: 1, z: 0.5))