CARLA
 
载入中...
搜索中...
未找到
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/AI/WalkerAIController.h
浏览该文件的文档.
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.
15UCLASS()
16class CARLA_API AWalkerAIController : public AActor
17{
18 GENERATED_BODY()
19
20public:
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)