diff options
Diffstat (limited to 'simulation/protos/BallCandy.proto')
| -rw-r--r-- | simulation/protos/BallCandy.proto | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/simulation/protos/BallCandy.proto b/simulation/protos/BallCandy.proto new file mode 100644 index 0000000..08438fc --- /dev/null +++ b/simulation/protos/BallCandy.proto @@ -0,0 +1,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 + } +} +} |
