I need help with a camera that suddenly warps with the character seemlesly[SOLVED]

Where does it keep crashing?
Works perfectly to me.
Are you using UPBGE v.0.2.4?
That’s the most recent version of the file

http://www.mediafire.com/file/vji1g0vvftqte82/cineCam_stable.rar/file

Alright, fixed.

The problem was timeOffset is being set by the camera’s parent, directly from a property it has.
So anytime you want to change the slow parent value, you have to do it on both.

On teleport object, if you want the camera to snap, add a bool property.
Here, I named this property “snap_teleport”

If you don’t want the camera to snap, then don’t have that property name on the teleport object.

teleport script around line 37

camera = bge.logic.getCurrentScene().active_camera
camera_controller = camera.parent
camera_original_offset = camera_controller["smove"]

if "snap_teleport" in own:
    camera.timeOffset = camera_controller["smove"] = 0.0
        
#teleport the object to the coordinates
collision.hitObject.worldPosition = position
camera.timeOffset = camera_controller["smove"] = camera_original_offset

It still takes time for it go up there for me.
I meant a jump cut like instant movement of the camera to the teleported room.
So fast that you don’t know what happened.
So that it can be used for identical rooms but, different exits and objects, etc. inside.
Like Half Life or Stanley Parable do.
It moves fast but, it’s still too slow.
So close!!

Ask the author of the library. He knows things I don’t about the code.

He hasn’t been getting back to me or taking forever to so that’s why I have this post. You have gotten the farthest so far.
It’s fine if you can’t help me.
Someone else might come along.
Thanks for your help that you have given!

SOLVED!
The last line needed to go and it solved the problem xDD