lots of changes

This commit is contained in:
Dynamitos committed 2025-07-01 20:38:31 +02:00
1 parent c3475ec41d
commit 41eecfa2c2
29 files changed
+35194 -33659

No files matched your search

+26 -26
View File
@@ -1,27 +1,27 @@
#pragma once
#include "Define.h"
#include <Math/Vector.h>
#include <Actor/Actor.h>
struct PathFollow
{
enum class SpeedControl {
Linear,
EaseInEaseOut
};
PEntity path;
// How many seconds since start of path, used to calculate new position in path
float time = 0.0f;
// How much distance per passed second will be traversed along the path
float traversalSpeed = 1.0f;
// The desired speed control function (choose Linear to simply use the traversal speed)
SpeedControl speedControl = SpeedControl::Linear;
// Distance travelled through the path
float distance = 0.0f;
// The entity's Transform will always get this offset applied
Vector pathOffset = Seele::Vector(0);
Vector lastPos = Vector(0);
#pragma once
#include "Define.h"
#include <Math/Vector.h>
#include <Actor/Actor.h>
struct PathFollow
{
enum class SpeedControl {
Linear,
EaseInEaseOut
};
PEntity path;
// How many seconds since start of path, used to calculate new position in path
float time = 0.0f;
// How much distance per passed second will be traversed along the path
float traversalSpeed = 1.0f;
// The desired speed control function (choose Linear to simply use the traversal speed)
SpeedControl speedControl = SpeedControl::Linear;
// Distance travelled through the path
float distance = 0.0f;
// The entity's Transform will always get this offset applied
Vector pathOffset = Seele::Vector(0);
Vector lastPos = Vector(0);
};