-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBasicCube.tscn
29 lines (22 loc) · 3.09 KB
/
BasicCube.tscn
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
[gd_scene load_steps=5 format=2]
[sub_resource type="PhysicsMaterial" id=1]
rough = true
absorbent = true
[sub_resource type="SpatialMaterial" id=2]
albedo_color = Color( 0.909804, 0.937255, 0.0862745, 1 )
[sub_resource type="CubeMesh" id=3]
material = SubResource( 2 )
size = Vector3( 1, 1, 1 )
subdivide_width = 3
subdivide_height = 3
subdivide_depth = 3
[sub_resource type="ConvexPolygonShape" id=4]
points = PoolVector3Array( -0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.25, 0.5, 0.5, 0.25, 0.5, -0.5, 0, 0.5, 0.5, 0, 0.5, -0.5, 0.25, 0.5, 0.5, -0.25, 0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.25, 0.5, 0.5, 0.25, -0.5, -0.25, 0.25, 0.5, 0.25, 0.25, -0.5, 0, 0.25, 0.5, 0, 0.25, -0.5, 0.25, 0.25, 0.5, -0.25, 0.25, -0.5, 0.5, 0.25, 0.5, -0.5, 0.25, -0.5, -0.5, 0, 0.5, 0.5, 0, -0.5, -0.25, 0, 0.5, 0.25, 0, -0.5, 0, 0, 0.5, 0, 0, -0.5, 0.25, 0, 0.5, -0.25, 0, -0.5, 0.5, 0, 0.5, -0.5, 0, -0.5, -0.5, -0.25, 0.5, 0.5, -0.25, -0.5, -0.25, -0.25, 0.5, 0.25, -0.25, -0.5, 0, -0.25, 0.5, 0, -0.25, -0.5, 0.25, -0.25, 0.5, -0.25, -0.25, -0.5, 0.5, -0.25, 0.5, -0.5, -0.25, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.25, -0.5, 0.5, 0.25, -0.5, -0.5, 0, -0.5, 0.5, 0, -0.5, -0.5, 0.25, -0.5, 0.5, -0.25, -0.5, -0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, 0.5, 0.5, 0.25, -0.5, 0.5, -0.25, 0.5, 0.5, 0, -0.5, 0.5, 0, 0.5, 0.5, -0.25, -0.5, 0.5, 0.25, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.25, 0.5, -0.5, 0.25, -0.5, 0.5, 0.25, 0.25, -0.5, 0.25, -0.25, 0.5, 0.25, 0, -0.5, 0.25, 0, 0.5, 0.25, -0.25, -0.5, 0.25, 0.25, 0.5, 0.25, -0.5, -0.5, 0.25, 0.5, 0.5, 0, 0.5, -0.5, 0, -0.5, 0.5, 0, 0.25, -0.5, 0, -0.25, 0.5, 0, 0, -0.5, 0, 0, 0.5, 0, -0.25, -0.5, 0, 0.25, 0.5, 0, -0.5, -0.5, 0, 0.5, 0.5, -0.25, 0.5, -0.5, -0.25, -0.5, 0.5, -0.25, 0.25, -0.5, -0.25, -0.25, 0.5, -0.25, 0, -0.5, -0.25, 0, 0.5, -0.25, -0.25, -0.5, -0.25, 0.25, 0.5, -0.25, -0.5, -0.5, -0.25, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, 0.25, -0.5, -0.5, -0.25, 0.5, -0.5, 0, -0.5, -0.5, 0, 0.5, -0.5, -0.25, -0.5, -0.5, 0.25, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.25, 0.5, 0.5, -0.25, -0.5, 0.5, 0, 0.5, 0.5, 0, -0.5, 0.5, -0.25, 0.5, 0.5, 0.25, -0.5, 0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, 0.5, 0.5, 0.25, -0.5, -0.5, 0.25, 0.25, 0.5, 0.25, -0.25, -0.5, 0.25, 0, 0.5, 0.25, 0, -0.5, 0.25, -0.25, 0.5, 0.25, 0.25, -0.5, 0.25, -0.5, 0.5, 0.25, 0.5, -0.5, 0.25, 0.5, 0.5, 0, -0.5, -0.5, 0, 0.25, 0.5, 0, -0.25, -0.5, 0, 0, 0.5, 0, 0, -0.5, 0, -0.25, 0.5, 0, 0.25, -0.5, 0, -0.5, 0.5, 0, 0.5, -0.5, 0, 0.5, 0.5, -0.25, -0.5, -0.5, -0.25, 0.25, 0.5, -0.25, -0.25, -0.5, -0.25, 0, 0.5, -0.25, 0, -0.5, -0.25, -0.25, 0.5, -0.25, 0.25, -0.5, -0.25, -0.5, 0.5, -0.25, 0.5, -0.5, -0.25, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.25, 0.5, -0.5, -0.25, -0.5, -0.5, 0, 0.5, -0.5, 0, -0.5, -0.5, -0.25, 0.5, -0.5, 0.25, -0.5, -0.5, -0.5, 0.5, -0.5, 0.5, -0.5, -0.5 )
[node name="Cube" type="RigidBody"]
mass = 500.0
physics_material_override = SubResource( 1 )
[node name="MeshInstance" type="MeshInstance" parent="."]
mesh = SubResource( 3 )
material/0 = null
[node name="CollisionShape" type="CollisionShape" parent="."]
shape = SubResource( 4 )