|
@@ -154,7 +154,7 @@ Skeleton
|
|
~~~~~~~~~
|
|
~~~~~~~~~
|
|
Skeleton node inherits Spatial node, besides that it may have a list
|
|
Skeleton node inherits Spatial node, besides that it may have a list
|
|
of bones described in key, value pair in the format :code:`bones/Id/Attribute=Value`,
|
|
of bones described in key, value pair in the format :code:`bones/Id/Attribute=Value`,
|
|
-attributes of bone consisits of
|
|
|
|
|
|
+attributes of bone consists of
|
|
|
|
|
|
- name
|
|
- name
|
|
- parent
|
|
- parent
|
|
@@ -272,7 +272,7 @@ itself. An external resource consists of:
|
|
- A type
|
|
- A type
|
|
- An ID
|
|
- An ID
|
|
|
|
|
|
-Godot alway generates absolute paths relative to the resource directory and
|
|
|
|
|
|
+Godot always generates absolute paths relative to the resource directory and
|
|
thus prefixed with :code:`res://`, but paths relative to the TSCN file's
|
|
thus prefixed with :code:`res://`, but paths relative to the TSCN file's
|
|
location are also valid.
|
|
location are also valid.
|
|
|
|
|
|
@@ -325,10 +325,10 @@ TSCN support two format of surface,
|
|
i) :code:`primitive` is an enumerate variable, :code:`primitive=4` which is
|
|
i) :code:`primitive` is an enumerate variable, :code:`primitive=4` which is
|
|
PRIMITIVE_TRIANGLES is frequently used.
|
|
PRIMITIVE_TRIANGLES is frequently used.
|
|
|
|
|
|
- ii) :code:`arrays` as name suggestes is an array of array, it contains:
|
|
|
|
|
|
+ ii) :code:`arrays` as name suggests is an array of array, it contains:
|
|
|
|
|
|
1) a array of vertex position
|
|
1) a array of vertex position
|
|
- 2) tagents array
|
|
|
|
|
|
+ 2) tangents array
|
|
3) vertex color array
|
|
3) vertex color array
|
|
4) UV array 1
|
|
4) UV array 1
|
|
5) UV array 2
|
|
5) UV array 2
|
|
@@ -372,8 +372,8 @@ An animation resource consists of tracks. Besides, it has 'length', 'loop' and
|
|
|
|
|
|
1) :code:`length` and :code:`step` are both time in seconds
|
|
1) :code:`length` and :code:`step` are both time in seconds
|
|
|
|
|
|
-Each track is described by a list of key, value pairt in the format :code:`tracks/Id/Attribute`,
|
|
|
|
-it includs:
|
|
|
|
|
|
+Each track is described by a list of key, value pair in the format :code:`tracks/Id/Attribute`,
|
|
|
|
+it includes:
|
|
|
|
|
|
- type
|
|
- type
|
|
- path
|
|
- path
|
|
@@ -406,7 +406,7 @@ it includs:
|
|
but have different structure for track with different type
|
|
but have different structure for track with different type
|
|
|
|
|
|
- A transform track use every 12 real number in the :code:`keys` to describte a keyframe.
|
|
- A transform track use every 12 real number in the :code:`keys` to describte a keyframe.
|
|
- The first number is the timestamp, the second number is the transision (default 1.0
|
|
|
|
|
|
+ The first number is the timestamp, the second number is the transition (default 1.0
|
|
in transform track), followed by a three number translation vector, followed by
|
|
in transform track), followed by a three number translation vector, followed by
|
|
four number rotation quaternion (x,y,z,w) and finally a three number scale vector.
|
|
four number rotation quaternion (x,y,z,w) and finally a three number scale vector.
|
|
|
|
|