blob: 08438fcdc338652e5f89cd8a1922673dfda51fd4 (
plain)
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
|
#VRML_SIM R2024a utf8
# license: Copyright Cyberbotics Ltd. Licensed for use only with Webots.
# license url: https://cyberbotics.com/webots_assets_license
# documentation url: https://webots.cloud/run?url=https://github.com/cyberbotics/webots/blob/released/projects/robots/softbank/nao/protos/BallCandy.proto
# keywords: robot/accessory
PROTO BallCandy [
field SFVec3f translation 0 0 0.0162
field SFRotation rotation 0 0 1 0
field SFString name "ball candy"
field SFColor color 0.9 0.1 0.1
]
{
Solid {
translation IS translation
rotation IS rotation
children [
Shape {
appearance PBRAppearance {
baseColor IS color
roughness 0.3
metalness 0
}
geometry DEF CANDY_BALL_SHAPE Sphere {
radius 0.0325
subdivision 3
}
}
]
name IS name
model "ball candy"
boundingObject USE CANDY_BALL_SHAPE
physics Physics {
density -1
mass 0.16
}
}
}
|