Skip to content

Instantly share code, notes, and snippets.

View hardway777's full-sized avatar

Vladimir hardway777

  • Russia
View GitHub Profile
// The Island project
#include "TaskNavMeshPathFollow.h"
#include "StateTreeLinker.h"
#include "AITypes.h"
#include "MassStateTreeExecutionContext.h"
#include "NavMesh/NavMeshRenderingComponent.h"
#include "Logging/StructuredLog.h"
#include <Kismet/GameplayStatics.h>
// The Island project
#include "TaskNavMeshPathBuild.h"
#include "StateTreeLinker.h"
#include "AITypes.h"
#include "MassStateTreeExecutionContext.h"
#include "NavMesh/NavMeshRenderingComponent.h"
#include <Logging/StructuredLog.h>
#include "TaskNavMeshFindPoint.h"
// The Island project
#include "ProcessorNavMesh.h"
#include "DrawDebugHelpers.h"
#include "../Fragments/FragmentMoveOrigin.h"
/*
UProcessorNavMesh::UProcessorNavMesh()
{
ExecutionFlags = (int32)EProcessorExecutionFlags::All;
ExecutionOrder.ExecuteInGroup = UE::Mass::ProcessorGroupNames::Movement;
@hardway777
hardway777 / ChunkRegionControl.py
Last active December 10, 2021 07:16
ChunkRegionControl
# version 0.1.5
import sys
import Metashape
from PySide2 import QtGui, QtCore, QtWidgets
from PySide2.QtWidgets import *
dlg = None
class ChunkRegionControl(QDialog):
@hardway777
hardway777 / govnokod.h
Created April 29, 2017 12:18
govnokod
#ifndef ENGINE_EASY_SPRITE_INSTANCE_H_
#define ENGINE_EASY_SPRITE_INSTANCE_H_
#include "engine/arctic_types.h"
#include "engine/byte_array.h"
namespace arctic {
namespace easy {
class SpriteInstance {
@hardway777
hardway777 / Door.cpp
Created March 7, 2017 03:07
Physics door not work
#include "Town.h"
#include "Door.h"
#include "UnrealNetwork.h"
// Sets default values
ADoor::ADoor(const class FObjectInitializer& ObjectInitializer)
{
is_opened = false;
PrimaryActorTick.bCanEverTick = true;
SetReplicates(true);
@hardway777
hardway777 / Door.cpp
Last active March 1, 2017 12:59
Physics door UE4 fail
#include "Town.h"
#include "Door.h"
#include "UnrealNetwork.h"
// Sets default values
ADoor::ADoor(const class FObjectInitializer& ObjectInitializer)
{
is_opened = false;
PrimaryActorTick.bCanEverTick = true;
SetReplicates(true);
float dirLightVertexData[] =
{
-1, 1, 0,
1, 1, 0,
1, -1, 0,
-1, -1, 0,
};
unsigned short dirLightIndexData[] =
{