diff --git a/Content/AssetPacks/TB/ANIM_NEW_WORK/work/seqirity/Tex_0072_0_Mat.uasset b/Content/AssetPacks/TB/ANIM_NEW_WORK/work/seqirity/Tex_0072_0_Mat.uasset index 507de65..ec91d79 100644 Binary files a/Content/AssetPacks/TB/ANIM_NEW_WORK/work/seqirity/Tex_0072_0_Mat.uasset and b/Content/AssetPacks/TB/ANIM_NEW_WORK/work/seqirity/Tex_0072_0_Mat.uasset differ diff --git a/Content/AssetPacks/TB/Maps/VokzalMap.umap b/Content/AssetPacks/TB/Maps/VokzalMap.umap index 83c577f..35bde2d 100644 Binary files a/Content/AssetPacks/TB/Maps/VokzalMap.umap and b/Content/AssetPacks/TB/Maps/VokzalMap.umap differ diff --git a/Content/test/Blueprints/RailwayCarriages/BP_RailwayCarriage.uasset b/Content/test/Blueprints/RailwayCarriages/BP_RailwayCarriage.uasset index 39146a5..4bb7055 100644 Binary files a/Content/test/Blueprints/RailwayCarriages/BP_RailwayCarriage.uasset and b/Content/test/Blueprints/RailwayCarriages/BP_RailwayCarriage.uasset differ diff --git a/Content/test/Blueprints/player/playerMenu.uasset b/Content/test/Blueprints/player/playerMenu.uasset index e863045..4adeba3 100644 Binary files a/Content/test/Blueprints/player/playerMenu.uasset and b/Content/test/Blueprints/player/playerMenu.uasset differ diff --git a/Content/test/Blueprints/scenario/Scenario.uasset b/Content/test/Blueprints/scenario/Scenario.uasset index 01a9fd6..13cb7fa 100644 Binary files a/Content/test/Blueprints/scenario/Scenario.uasset and b/Content/test/Blueprints/scenario/Scenario.uasset differ diff --git a/Content/test/Levels/Main.umap b/Content/test/Levels/Main.umap index c094550..9a4360c 100644 Binary files a/Content/test/Levels/Main.umap and b/Content/test/Levels/Main.umap differ diff --git a/Source/railwayWorker/RailwayCarriage.cpp b/Source/railwayWorker/RailwayCarriage.cpp index bfaa1c1..974d23d 100644 --- a/Source/railwayWorker/RailwayCarriage.cpp +++ b/Source/railwayWorker/RailwayCarriage.cpp @@ -57,24 +57,6 @@ ARailwayCarriage::ARailwayCarriage() - // support to focus component - dotCoordinate_0 = CreateDefaultSubobject(TEXT("sphereForWheel1Focus")); - dotCoordinate_0->AttachTo(railwayBody); - dotCoordinate_1 = CreateDefaultSubobject(TEXT("sphereForWheel2Focus")); - dotCoordinate_1->AttachTo(railwayBody); - dotCoordinate_2 = CreateDefaultSubobject(TEXT("sphereForWheel3Focus")); - dotCoordinate_2->AttachTo(railwayBody); - dotCoordinate_3 = CreateDefaultSubobject(TEXT("sphereForWheel4Focus")); - dotCoordinate_3->AttachTo(railwayBody); - dotCoordinate_4 = CreateDefaultSubobject(TEXT("sphereForWheel5Focus")); - dotCoordinate_4->AttachTo(railwayBody); - dotCoordinate_5 = CreateDefaultSubobject(TEXT("sphereForWheel6Focus")); - dotCoordinate_5->AttachTo(railwayBody); - dotCoordinate_6 = CreateDefaultSubobject(TEXT("sphereForWheel7Focus")); - dotCoordinate_6->AttachTo(railwayBody); - dotCoordinate_7 = CreateDefaultSubobject(TEXT("sphereForWheel8Focus")); - dotCoordinate_7->AttachTo(railwayBody); - } // Called when the game starts or when spawned diff --git a/Source/railwayWorker/RailwayCarriage.h b/Source/railwayWorker/RailwayCarriage.h index 3aa3d7b..c23a84a 100644 --- a/Source/railwayWorker/RailwayCarriage.h +++ b/Source/railwayWorker/RailwayCarriage.h @@ -70,24 +70,7 @@ protected: UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "Name") FName nameCarriage; - // components to focus camera - - UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent") - USceneComponent* dotCoordinate_0; - UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent") - USceneComponent* dotCoordinate_1; - UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent") - USceneComponent* dotCoordinate_2; - UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent") - USceneComponent* dotCoordinate_3; - UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent") - USceneComponent* dotCoordinate_4; - UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent") - USceneComponent* dotCoordinate_5; - UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent") - USceneComponent* dotCoordinate_6; - UPROPERTY(EditAnyWhere, BlueprintReadWrite, Category = "SupportComponent") - USceneComponent* dotCoordinate_7; + public: