Created Syntax (markdown)
commited
commit
d8ee4684e342a928030cc78183be80a95aff3c81
... | ... | @@ -0,0 +1,22 @@ |
1 | Ever wondered how Fanscript would look in text format? Well, you can see them all in the /Fanscript directory. |
|
2 | ||
3 | ## Examples |
|
4 | Values consist of: |
|
5 | ||
6 | ``` |
|
7 | Number Age = 10 |
|
8 | Vector Position = (10, 1.51, 5) |
|
9 | Rotation Angle = (0, 90, 0) |
|
10 | Truth Hit = True |
|
11 | Object Player = MyBlocks.Player |
|
12 | ``` |
|
13 | ||
14 | For the constraints, it'll be the same inside Fancade: |
|
15 | ||
16 | ``` |
|
17 | PlaySensor() { |
|
18 | Constraint const = Physics.AddConstraint(base, part, pivot) |
|
19 | Physics.AngularLimits(const, (0, 0, 1), (0, 0, 0)) |
|
20 | Physics.AngularMotor(const, (0, 0, 90), (0, 0, 100)) |
|
21 | } |
|
22 | ``` |