object :
DEF OBJECT Transform {
children Transform {
rotation 1 0 0 1.57
children [
Shape {
geometry Cone {}
appearance Appearance {
material Material {
emissiveColor 1 0 0
}
}
}
DEF SWITCH Switch {
whichChoice -1
choice [
## Flame
Transform {
translation 0 -2 0
rotation 1 0 0 3.14
children Shape {
geometry Cone { bottomRadius 0.6 }
appearance Appearance {
material Material {
emissiveColor 1 1 0
}
}
}
}
]
}
]
}
}