A question about RIntep To!

Hi! I want to make a camera that follows me when I touch the box for the first time and when I touch the second time the camera will rotate to the base rotation.
When I touch the box a second time, the “RInterpTo” doesn’t work well…


I don’t understand what I did wrong…

1 Like

Rinterp needs to be tick :slight_smile:

So you can keep most of your current setup, but you need one of two fixes

  1. Use this code to set the new target rotation, and do the rinterp on tick

  2. Keep this code, and use a timeline to do the rotation ( no tick ).

What do you want to achieve?

1 - toggle camera follow on/off

2 - toggle camera follow/camera rest position

HTML

Oh, I see it

image

With interp, you always need to be sampling the actual value.

interp

1 Like

EEeeexactlyy!! Thank you very much!!

1 Like