-
Notifications
You must be signed in to change notification settings - Fork 0
/
target.proto
57 lines (57 loc) · 1.09 KB
/
target.proto
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
46
47
48
49
50
51
52
53
54
55
56
57
PROTO target [
field SFVec3f translation 0 0 0
field SFRotation rotation 0 1 0 0
field SFColor colour 1 0 0
field SFString name "target"
]
{
Solid {
name IS name
translation IS translation
rotation IS rotation
children [
Transform {
translation 0 0.025 0
children [
Shape {
appearance PBRAppearance {
baseColor IS colour
roughness 1
metalness 0
emissiveColor IS colour
}
geometry Sphere {
radius 0.0025
}
}
SpotLight {
attenuation 0 0 12.47
color IS colour
beamWidth 0.2
cutOffAngle 0.6
direction 0 1 0
intensity 0.01
radius 0.5
}
]
}
Solid {
children [
DEF BOX Shape {
appearance PBRAppearance {
roughness 1
metalness 0
}
geometry Box {
size 0.05 0.05 0.05
}
}
]
}
]
contactMaterial "block"
boundingObject USE BOX
physics Physics {
}
}
}