- Edited
So I've just noticed that when rotating a mesh that the scale sneaks up slowly over time:
extends MeshInstance3D
func _ready():
print(scale.x) #Outputs: 1.0
func _process(delta: float) -> void:
rotate_y(delta)
print(scale.x) #Outputs: 1.00000011920929 and climbing with every frame,
#1.00003898143768 after only a about a minute!
I assume this is floating point imprecision causing the issue, but why does the rotation affect the scale at all, and why is the position totally unaffected?
Any insight would be great!