About 'Fades, Timers and Teleporting'!

  • Setting up a teleport action.
  • Teleporting to the right location.
  • Fading the camera.
  • Setting a timer to fade up.

(Unique Video Reference: 10_AE_VR2)

We would love to know…

  • What you found good about this lecture?
  • What we could do better?

Remember that you can reply to this topic, or create a new topic. The easiest way to create a new topic is to follow the link in Resources. That way the topic will…

  • Be in the correct forum (for the course).
  • Be in the right sub-forum (for the section)
  • Have the correct lecture tag.

Enjoy your stay in our thriving community!

I ended up using UGameplayStatics::GetPlayerCameraManager instead of getting the player controller and the camera manager via that, which I guess is somewhat simpler but might be a problem if we introduce AI into the game.

I also introduced a boolean that prevents any more teleport attempts while a teleport is already in progress, but this still doesn’t prevent the destination marker being moved during the fade-out, which means you can potentially still change where you are teleporting to after starting the teleport. Hopefully this is fixed in upcoming lectures but if not, I guess it’s just a matter of recording the destination marker at the time of receiving the button press.