UVirtualCameraMovementComponent::SetRootComponent

When the input come from a physical controller, move this component instead.

Choose your operating system:

Windows

macOS

Linux

References

Module

VirtualCamera

Header

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Public/VirtualCameraMovementComponent.h

Include

#include "VirtualCameraMovementComponent.h"

Source

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Private/VirtualCameraMovementComponent.cpp

Syntax

void SetRootComponent
(
    USceneComponent * FromController
)

Remarks

When the input come from a physical controller, move this component instead. This allow a proper replication when we are in a multi user setting. This component doesn't respect the freeze and lock axis.