That won't be your issue, suggest looking elsewhere.
Probably best to print all relevant vars to the screen and from there you can see which one is instigating the NaN. Have you checked your camera movement - that may be your issue? Can you post the code?
Stevie
Probably best to print all relevant vars to the screen and from there you can see which one is instigating the NaN. Have you checked your camera movement - that may be your issue? Can you post the code?
Stevie