playMaker

Author Topic: Best way to use 'I Tween Move To' to change a camera's position when in motion?  (Read 1603 times)

Adam Z

  • Full Member
  • ***
  • Posts: 207
Im creating a camera system that switches from 3rd person to 1st with a key press. On my 1st Person State, I have a 'Get Position' to store the head bone in a vector 3, world space.  Then I have the 'I Tween Move To' to move the camera to that vector, also in world space. That works fine until my character begins to move. I'm assuming as soon as the "Move To" begins, it only remember the location of the bones position before movement, so after the time delay the camera is now behind the character. Any thoughts on how to have the "Move To" vector update in real-time before it finishes?

Thanks.

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Check out the DoTween thread..  if this is for mobile, DoTween is much better and also your answer is in the thread if you use dotween.

 ???


Adam Z

  • Full Member
  • ***
  • Posts: 207
Is there Playmaker actions for DoTween? Also, what's the URL to the thread so I can read about your solution?