Inverse Transformation

I need to transform a position in world coordinates into object space, but I’m not sure how to do this. (I need to get a light’s position in object space so I can extrude shadow geometry easily.)

I believe that I need to transform the world position by the inverse of the object’s object space->world space transform, but jME doesn’t seem to deal with transforms explicitly, leaving it to OpenGL to compute them internally.

From what I see in the code, I think I need to construct the transform matrix for the object’s node, then invert that. Does that sound about right, or am I missing some obvious helper utility that already exists?

Are you using the field worldTranslation? Maybe you could use that against the world position of the light.