summaryrefslogtreecommitdiff
path: root/Runtime/GameCode/RootMotionData.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/GameCode/RootMotionData.h
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/GameCode/RootMotionData.h')
-rw-r--r--Runtime/GameCode/RootMotionData.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Runtime/GameCode/RootMotionData.h b/Runtime/GameCode/RootMotionData.h
new file mode 100644
index 0000000..789a34a
--- /dev/null
+++ b/Runtime/GameCode/RootMotionData.h
@@ -0,0 +1,9 @@
+#pragma once
+
+struct RootMotionData
+{
+ Vector3f deltaPosition;
+ Quaternionf targetRotation;
+ float gravityWeight;
+ bool didApply;
+}; \ No newline at end of file