Skip to content

Problem with tween Linear transition #115

Closed Answered by ramokz
AcevedoC17 asked this question in Question / Help Wanted
Discussion options

You must be logged in to vote

That's because I've been a bit silly with the way interpolation works for 3D rotation and didn't do it the proper way.

Am refactoring how the tweening and lerping system works in 0.5, so should resolve this, among other, issues.

For now, would suggest either grabbing the master branch, which has this fix but might be a bit unstable, or alternatively inject following bits into phantom_camera_host.gd:

Note: The below code will very likely cause errors if you're also using PhantomCamera2D in 2D scenes, as this code is 3D specific. But you can surround the various bits with if _is_3D: conditionals to solve that.

  1. Add a new variable called _previous_active_pcam_transform below _previous_active…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@AcevedoC17
Comment options

@ramokz
Comment options

Answer selected by AcevedoC17
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants