CARLA
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/AI/WalkerAIController.h
Go to the documentation of this file.
1 // Copyright (c) 2019 Computer Vision Center (CVC) at the Universitat Autonoma
2 // de Barcelona (UAB).
3 //
4 // This work is licensed under the terms of the MIT license.
5 // For a copy, see <https://opensource.org/licenses/MIT>.
6 
7 #pragma once
8 
9 #include "GameFramework/Actor.h"
10 
11 #include "WalkerAIController.generated.h"
12 
13 /// Walker AI Controller representation. This actor does nothing, it's a handle
14 /// for the actual controller created on the client-side.
15 UCLASS()
16 class CARLA_API AWalkerAIController : public AActor
17 {
18  GENERATED_BODY()
19 
20 public:
21 
22  AWalkerAIController(const FObjectInitializer &ObjectInitializer)
23  : Super(ObjectInitializer)
24  {
25  PrimaryActorTick.bCanEverTick = false;
26 
27  RootComponent = CreateDefaultSubobject<USceneComponent>(TEXT("RootComponent"));
28  RootComponent->bHiddenInGame = true;
29  }
30 };
AWalkerAIController(const FObjectInitializer &ObjectInitializer)