Hello everyone, I have a problem when I change a property named angle that is the angle of an object, this property then gets the value NaN, does anyone know how to fix it. I want to ratate the object to the property value.
NaN means "not a number", so you are probably trying to use a string (text) value to set the variable..
even changing the type of the variable text, the problem persists, in some cases it returns the value of the angle
You are going to have to be more clear..
You are still gettin NaN?
What is the issue?
could you send a code example?
Develop games in your browser. Powerful, performant & highly capable.
The problem is solved, thank you for help, is the calculus of angle returning a error. SOLVED