x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Runtime toggling of sequencer camera takes

I'd like to be able to have different camera tracks for VR vs 2D. And I have support for toggling VR on and off while putting on/taking off the headset at any time, so I would also like to be able to switch between these tracks at runtime and not just when the sequence first starts playing.

Is there a way to do that? I read about having alternate takes for the same sequences here:

https://docs.unrealengine.com/en-US/Engine/Sequencer/Workflow/ToolUsage

But couldn't find any way to swap between takes at runtime.

Product Version: UE 4.20
Tags:
more ▼

asked Oct 15 '18 at 03:44 AM in Blueprint Scripting

avatar image

muchcharles
252 8 16 24

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

This isn't possible without engine code modification at the moment. However, we are looking at exposing this in a future release.

more ▼

answered Oct 18 '18 at 09:13 PM

avatar image

Max.Chen STAFF
2.3k 28 14 68

avatar image muchcharles Oct 20 '18 at 09:46 PM

I tried using the disable camera cuts node instead, which is supposed to be supported, but it has an issue. While camera cuts are disabled sequencer will set bGameCameraCutThisFrame = true every single frame, breaking TAA.

It seems to come from here:

     virtual void Execute(const FMovieSceneContext& Context, const FMovieSceneEvaluationOperand& Operand, FPersistentEvaluationData& PersistentData, IMovieScenePlayer& Player) override
     {
         if (!Player.CanUpdateCameraCut())
         {
             Player.UpdateCameraCut(nullptr, nullptr);
             return;
         }


In this part at the end of UpdateCameraCut, which happens even though bJumpCut is set to false (not sure if that is the bug, or if that is intended for the final camera restore to original view target):

 if (PC->PlayerCameraManager)
 {
     PC->PlayerCameraManager->bClientSimulatingViewTarget = (CameraActor != nullptr);
     PC->PlayerCameraManager->bGameCameraCutThisFrame = true;
 }

 if (OnCameraCut.IsBound())
 {
     OnCameraCut.Broadcast(CameraComponent);
 }

}

avatar image Max.Chen STAFF Oct 23 '18 at 04:58 PM

That appears to be a legitimate bug. Thanks for reporting. I've filed it as:

https://issues.unrealengine.com/issue/UE-65648

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question