Notifications
Clear all

[Closed] 1.qnan

Problem:
I’m attempting to Copy/Past thru script rotation of biped joints.
randomly (mostly with finger bones) they are getting set to QNAN’s.

Script:
print namearray[i]
Output: $Biped_Object:Biped.Bip01_R_Finger22 @ [-13.804165,-0.516701,49.821175]
print rotarray[i]
Output: (quat 0.0271776 -0.0567335 0.417532 0.906482)
test = biped.getTransform obj #rotation
print test
Output: (quat 0.0271775 -0.0567335 0.417532 0.906482)

biped.setTransform obj #rotation rotarray[i] true
test = biped.getTransform obj #rotation
print test
Output: (quat 1.#QNAN 1.#QNAN 1.#QNAN 1.#QNAN)

Is there a different method or set of commands that will prevent this?