2
0
Эх сурвалжийг харах

[animgraph] Started working on blend spaces

Clément Espeute 9 сар өмнө
parent
commit
b50e709695

+ 25 - 0
hrt/animgraph/BlendSpace2D.hx

@@ -0,0 +1,25 @@
+package hrt.animgraph;
+
+typedef BlendSpacePoint = {
+	x : Float,
+	y : Float,
+	animPath: String,
+};
+
+class BlendSpace2D extends hrt.prefab.Prefab {
+	@:s var points : Array<BlendSpacePoint>;
+
+	public function getAnimation() {
+
+	}
+}
+
+typedef BlendSpaceInstancePoint = {
+	x: Float,
+	y: Float,
+
+}
+
+class BlendSpace2DIntance extends h3d.anim.Animation {
+
+}