I’m trying to set a transformgroup’s transform3D object to the initial rotation of 0…
I used the transform3D.setIdentity() method but it keeps throwing a null pointer expection at me?
Any idea why this is doing this?
Please help!!
I’m trying to set a transformgroup’s transform3D object to the initial rotation of 0…
I used the transform3D.setIdentity() method but it keeps throwing a null pointer expection at me?
Any idea why this is doing this?
Please help!!
um yes. if “mytransform. setIdentity()” throws a null poinerte xception then by definition mytransform == null.
As to WHY it equals null, id have to see your code but i gaurantee its wrong. the most likely thing is that the variable is never beign set to reference an actual object.