CARLA
UncenteredPivotPointMesh.cpp
Go to the documentation of this file.
1 
2 // Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB).
3 // This work is licensed under the terms of the MIT license.
4 // For a copy, see <https://opensource.org/licenses/MIT>.
5 
6 
8 
9 AUncenteredPivotPointMesh::AUncenteredPivotPointMesh(const FObjectInitializer& ObjectInitializer)
10  : Super(ObjectInitializer)
11 {
12  PrimaryActorTick.bCanEverTick = false;
13 
14  RootComponent = CreateDefaultSubobject<USceneComponent>(TEXT("SceneRoot"));
15  SMComp = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("StaticMeshComp"));
16  SMComp->SetupAttachment(RootComponent);
17 }
AUncenteredPivotPointMesh(const FObjectInitializer &ObjectInitializer)