Look at target while tweening between multiple PCam3D #533
-
I have an use case where I need to tween between multiple cameras, but also still look at target while tweening. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
At the top of my head, I can't think of a simple way to achieve what you describe with just tween solution. It sounds a bit more bespoke than what tweens are designed for. At least, without doing a lot of weird hacks or restricting the tween delta like you mentioned. Would you be able to share more details, like a short screen recording, about the scenario you're looking to make? Think any suggestions depend on the context it is used in. E.g., whether if the |
Beta Was this translation helpful? Give feedback.
So this is actually quite interesting.
Basically, the current
PCam
tweening setup just interpolates from one rotation to another, so the more flat that transition bézier is, the more predictable and accurate it will look.But it looks like what you're after is applying the
PCam
logic to the camera while it's transitioning; effectively ignoring the tweening altogether for the rotation /look at
. So on a fundamental level, the current tweening system wouldn't work quite as you show it above, as it's a bit more deterministic in how it interpolates the rotation.Normally, I can't see changing the tweening system making sense; however, I think this might be an exception. Where if the
Look At Mode