Re-introduce tracks.

This commit is contained in:
2024-06-19 20:03:58 -04:00
parent 43b875c1f4
commit b560d8398e
3 changed files with 64 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
#include <vector>
#include <J3ML/LinearAlgebra.h>
class Moby;
struct TrackKeyFrame {
public:
Position position;
Vector3 angle;
};
class Track {
private:
Moby* parent;
bool teleportToStart = false;
bool loop = false;
std::vector<TrackKeyFrame> track;
public:
Track(const std::string& file, Moby* moby);
};