How do I do this?

I have a rigidbody sphere, and am using videotexture to do a refraction. Trouble is, if the sphere is moved, the camera used for refraction will roll with the sphere, messing up the refraction. How can I “lock” the camera so it does not roll with the sphere, but at the same time, looks at the player camera? I’ve got the looking part done with an actuator, just need to stop the camera from rolling with the sphere when parented straight to it.

vertex parent the camera to the sphere instead of object parent

or use ImageViewport to do refraction instead of ImageRender

You parented, so the orientation of the sphere affects the camera’s.

Unparent. Copy position every frame.

camera.worldPosition = sphere.worldPosition

It works. Thanks