Updated Text Script.md (markdown)
commited
commit
4544793a7e57c860726c3eb835a85ed65363054a
... | ... | @@ -114,7 +114,7 @@ tru less = a < b; |
114 | 114 | |
115 | 115 | **____________________________________** |
116 | 116 | |
117 | ### Game Folder
|
|
117 | ### Game |
|
118 | 118 | **____________________________________** |
119 | 119 | ```coffeescript |
120 | 120 | Game.Win(); |
... | ... | @@ -145,11 +145,13 @@ Objects.GetPosition(obj).rotation |
145 | 145 | |
146 | 146 | Objects.SetPosition(obj Object, vec position, rot Rotation); |
147 | 147 | |
148 | # alternative |
|
149 | # get |
|
150 | vec = obj.position; |
|
151 | 148 | # set |
152 | 149 | obj.position = vec; |
150 | obj.rotation = rot; |
|
151 | ||
152 | # Get Position |
|
153 | vec = Obj.position; |
|
154 | rot = Obj.rotation; |
|
153 | 155 | |
154 | 156 | Objects.Raycast(vec, vec).hit |
155 | 157 | Objects.Raycast(vec, vec).hitPos |
... | ... | @@ -266,11 +268,11 @@ Math.Negate(num Num) |
266 | 268 | |
267 | 269 | Math.Inverse(rot Rot) |
268 | 270 | |
269 |
Vec.Scale(num Num) |
|
271 |
vec.Scale(num Num) |
|
270 | 272 | |
271 |
Vec.Rotate(rot Rot) |
|
273 |
vec.Rotate(rot Rot) |
|
272 | 274 | |
273 |
Rot1.Combine(rot Rot2) |
|
275 |
rot1.Combine(rot Rot2) |
|
274 | 276 | |
275 | 277 | Math.Random(num Min, num Max) |
276 | 278 |