The camera doesn't teleport with the player #108
Replies: 3 comments 3 replies
-
For this, I would probably temporarily switch to another, static, Right before the logic that triggers the character to teleport, I would then set the Then reduce the priority of The only caveat I can see, and this does touch upon your dilemma here, is that there will be a slight delay before |
Beta Was this translation helpful? Give feedback.
-
What about a method to move the camera instantly? I think this a bit complicated for just doing a camera reposition. |
Beta Was this translation helpful? Give feedback.
-
I was going to open a discussion on something derived, but I found this, and figured it's likely the same problem. According to this original thread, a teleported target will cause phantom cameras to smooth their movement towards it, even with no damping (I haven't tested this myself but considering what I've experienced I'm quite sure about it). A fast moving target will also cause the phantom camera to very visually delay it's following (in fact, this is slightly noticeable even at low velocities). Am I right in asuming a target set to being followed should be clipped to by the phantom camera, (with the relative offset) every frame? So why exactly does this damping or delay occur, even with no damping? My point is that the pcam is still delayed from following it's target by default even with damping disabled, here's a video showcasing this: The video showcases a third person phantom camera targeting a node within a moving RigidBody3D main character. The main character is nearly cut off frame when falling because of the catch up delay by the pcam. A teleport function should be unnecesary if we can clear out that the behaviour of an undampened phantom camera should be (at very least practically) cliping to target with relative offset. Unless this new teleport feature is meant to be callable every frame just to get the camera to catch up. |
Beta Was this translation helpful? Give feedback.
-
If a character teleports to another room on the map, is it somehow possible to make the camera do it instantly in this case too? Currently it is the case that if he teleports he has to wait for the camera to swim up to him.
Beta Was this translation helpful? Give feedback.
All reactions