I have this code, a rotation is applied and the object continue rotating as i keep pressing a key.
rotation = oldRotation
Adding look_at, the objects look at the vector.
But the next line of code changing rotation is no more applied the same way , the objects only rotates 10° if i keep pressing a key, when i release the key , the rotation is reset.
look_at(transform.basis.z, normalMedium) rotation = oldRotation
Does look_at is a function that is called after all other spatial functions are called , so it overrides any next functions calls ?
It's really strange.