[Closed] what does [-1.#QNAN,-1.#QNAN,-1.#QNAN] mean ?
[color=white]I have a script that works perfectly fine in max8 but has lots and lots of problems in max9?? Anyway my script creates objects by calling some scripted geometry plugins ive written, in 8 they get placed in the scene propely in 9 they placed at this location:
[-1.#QNAN,-1.#QNAN,-1.#QNAN]
Can anybody tell me what this value means? I`m guessing it means the object has been placed many lightyears away from the origin?
Cheers
Dan
[/color]
QNAN – Quiet Not A Number
you objects are realy lightyears away
does this happen in max9-32bit or x64 ?
hi,
i would check the scripts where you do divisions, maybe you divide something by a very small value
or they changed something in the script-engine, maybe you have to reset all transformations when using your scripted plugins, or centering pivot or somthing…
why it works in max8 and not in max9, dunno…
i’m not a scripter, so be patient with me
Hi guruware,
Thanks for the thoughts, there is some maths in the code which the script uses to place my objects. as you mentioned it maybe some of the variables in the algorithm are containing strange values due to some change in behavior in max9 scripting? I`m going to take my function apart line by line and see whats going on.
Thanks again
Dan