-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanimal.go
More file actions
45 lines (45 loc) · 887 Bytes
/
animal.go
File metadata and controls
45 lines (45 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
components {
id: "animal"
component: "/main/animal.script"
}
embedded_components {
id: "sprite"
type: "sprite"
data: "default_animation: \"deer\"\n"
"material: \"/builtins/materials/sprite.material\"\n"
"textures {\n"
" sampler: \"texture_sampler\"\n"
" texture: \"/main/game.atlas\"\n"
"}\n"
""
scale {
x: 0.05
y: 0.05
}
}
embedded_components {
id: "collisionobject"
type: "collisionobject"
data: "type: COLLISION_OBJECT_TYPE_KINEMATIC\n"
"mass: 0.0\n"
"friction: 0.1\n"
"restitution: 0.5\n"
"group: \"animals\"\n"
"mask: \"rockets\"\n"
"embedded_collision_shape {\n"
" shapes {\n"
" shape_type: TYPE_BOX\n"
" position {\n"
" y: -1.0\n"
" }\n"
" rotation {\n"
" }\n"
" index: 0\n"
" count: 3\n"
" }\n"
" data: 14.829967\n"
" data: 14.609893\n"
" data: 10.0\n"
"}\n"
""
}