Closed NullShock78 closed 3 months ago
I can't seem to replicate the issue. Would you be able to either share a recording or a minimal reproducible project sample?
Test below:
Camera3DResource
for PlayerPCam
:
75
0.05
2000
Camera3DResource
for ScenePCam
:
10
0.08
6000
https://github.com/ramokz/phantom-camera/assets/5159399/188a16e9-7446-4f01-b69f-369869aad626
Uploaded a minimal example project Might be framerate dependent, so max fps is set in the project Edit: attached video
https://github.com/ramokz/phantom-camera/assets/10644255/069797e0-9773-412a-8757-0c00000eed9e
The issue seems to partially stem from setting the priority in the _ready()
of the root node.
If you replace the PhantomCameraHost.gd
file with the version below, then that should resolve it.
It basically boils down to always running the last frame of a tween, which it sometimes skips — likely due to the fluctuating delta value.
Issue description
When tweening between two
PhantomCamera3D
s with different FOV/Near/Far settings, the final values are not equal to the ones defined in the target'sCamera3DResource
Steps to reproduce
PhantomCameraHost
, and twoPhantomCamera3D
nodes with different FOV/Near/Far settings in theirCamera3DResource
sPhantomCamera3D
sCamera3D
node to what is defined in the currentPhantomCamera3D
'sCamera3DResource
.(Optional) Minimal reproduction project
No response