X3D
type: NamedIndividual
has head: head
has scene: Scene
profile: Immersive
version: 3.0
no namespace schema location: https://www.web3d.org/specifications/x3d-3.0.xsd

meta 1 1
type: NamedIndividual
type: meta
has parent: head
content: Trebuchet.x3d
name: title

meta 1 2
type: NamedIndividual
type: meta
has parent: head
content: Working model of a 14th century Trebuchet Catapult.
name: description

meta 1 3
type: NamedIndividual
type: meta
has parent: head
content: Joe Roth
name: creator

meta 1 4
type: NamedIndividual
type: meta
has parent: head
content: 20 June 2001
name: created

meta 1 5
type: NamedIndividual
type: meta
has parent: head
content: 30 November 2024
name: modified

meta 1 6
type: NamedIndividual
type: meta
has parent: head
content: 7.8
name: version

meta 1 7
type: NamedIndividual
type: meta
has parent: head
content: multiple files missing, lost
name: TODO

meta 1 8
type: NamedIndividual
type: meta
has parent: head
content: https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/Trebuchet.x3d
name: identifier

meta 1 9
type: NamedIndividual
type: meta
has parent: head
content: http://trebuchet.com
name: reference

meta 1 10
type: NamedIndividual
type: meta
has parent: head
content: http://members.home.net/dimona
name: reference

meta 1 11
type: NamedIndividual
type: meta
has parent: head
content: trebuchet catapult Monty Python
name: subject

meta 1 12
type: NamedIndividual
type: meta
has parent: head
content: Permission granted for use of the VRML chicken I own a copy of Monty Python and the Holy Grail I have requested permission to use for non profit use. No response received. I will use the sound clips under "Fair Use" clause of the DMCA
name: reference

meta 1 13
type: NamedIndividual
type: meta
has parent: head
content: https://www.web3d.org/WorkingGroups/media/textures/nature/leaves_5.jpg.htm
name: reference

meta 1 14
type: NamedIndividual
type: meta
has parent: head
content: http://www.revemonde.net/UniversalMedia/textures/nature/leaves_5.jpg.htm
name: reference

meta 1 15
type: NamedIndividual
type: meta
has parent: head
content: X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit
name: generator

meta 1 16
type: NamedIndividual
type: meta
has parent: head
content: ../license.html
name: license

Trebuchet.x3d
description: Working model of a 14th century Trebuchet Catapult.
creator: Joe Roth
created: 20 June 2001
modified: 30 November 2024
version: 7.8
reference: http://trebuchet.com
reference: http://members.home.net/dimona
subject: trebuchet catapult Monty Python
reference: Permission granted for use of the VRML chicken I own a copy of Monty Python and the Holy Grail I have requested permission to use for non profit use. No response received. I will use the sound clips under "Fair Use" clause of the DMCA
reference: https://www.web3d.org/WorkingGroups/media/textures/nature/leaves_5.jpg.htm
reference: http://www.revemonde.net/UniversalMedia/textures/nature/leaves_5.jpg.htm
generator: X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit
license: ../license.html

WorldInfo 2 1
type: NamedIndividual
type: WorldInfo
has parent: Scene
title: Trebuchet.x3d

Background 2 2
type: NamedIndividual
type: Background
has parent: Scene
back url: "../UniversalMediaPanoramas/meadow_2_back.jpg" "https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/../UniversalMediaPanoramas/meadow_2_back.jpg" "https://www.web3d.org/WorkingGroups/media/textures/panoramas/meadow_2_back.jpg"
bottom url: "../UniversalMediaPanoramas/meadow_2_bottom.jpg" "https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/../UniversalMediaPanoramas/meadow_2_bottom.jpg" "https://www.web3d.org/WorkingGroups/media/textures/panoramas/meadow_2_bottom.jpg"
front url: "../UniversalMediaPanoramas/meadow_2_front.jpg" "https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/../UniversalMediaPanoramas/meadow_2_front.jpg" "https://www.web3d.org/WorkingGroups/media/textures/panoramas/meadow_2_front.jpg"
ground angle: 1.309
ground angle: 1.570796
ground color: 0.1
ground color: 0
ground color: 0.4
ground color: 0.25
ground color: 0.2
ground color: 0.6
left url: "../UniversalMediaPanoramas/meadow_2_left.jpg" "https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/../UniversalMediaPanoramas/meadow_2_left.jpg" "https://www.web3d.org/WorkingGroups/media/textures/panoramas/meadow_2_left.jpg"
right url: "../UniversalMediaPanoramas/meadow_2_right.jpg" "https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/../UniversalMediaPanoramas/meadow_2_right.jpg" "https://www.web3d.org/WorkingGroups/media/textures/panoramas/meadow_2_right.jpg"
sky angle: 1.309
sky angle: 1.57079
sky color: 0
sky color: 0.2
sky color: 0.7
sky color: 0.5
sky color: 1
top url: "../UniversalMediaPanoramas/meadow_2_top.jpg" "https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/../UniversalMediaPanoramas/meadow_2_top.jpg" "https://www.web3d.org/WorkingGroups/media/textures/panoramas/meadow_2_top.jpg"

Sound 2 3
type: NamedIndividual
type: Sound
has parent: Scene
has source: HolyGrail
max back: 1000
max front: 1000

HolyGrail
type: NamedIndividual
type: AudioClip
has parent: Sound 2 3
DEF: HolyGrail
description: HolyGrail
loop: true
url: "holygral.mp3" "https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/holygral.mp3"

Box 2 4 1
type: NamedIndividual
type: Box
has parent: Shape 2 4
size: 10000
size: 1

ImageTexture 2 4 2 1
type: NamedIndividual
type: ImageTexture
has parent: Appearance 2 4 2
url: "grass.jpg" "https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/grass.jpg"

Transform 2 5
type: NamedIndividual
type: Transform
has parent: Scene
has children: Shape 2 5 1
rotation: 0
rotation: 1
rotation: 1.57
scale: .5
translation: 10.5
translation: 6.5
translation: 4.5

TextAppearance
type: NamedIndividual
type: Appearance
has parent: Shape 2 5 1
has material: Material 2 5 1 1 1
DEF: TextAppearance

Material 2 5 1 1 1
type: NamedIndividual
type: Material
has parent: TextAppearance
diffuse color: 1
diffuse color: 0
emissive color: 1
emissive color: 0

Text 2 5 1 2
type: NamedIndividual
type: Text
has parent: Shape 2 5 1
has font style: FontStyle 2 5 1 2 1
string: "Click Sling to Select Projectile"

Transform 2 6
type: NamedIndividual
type: Transform
has parent: Scene
has children: Weight
has children: weightselector
has children: Transform 2 6 3
rotation: 0
rotation: 1
rotation: 1.57
scale: .5
translation: 11
translation: 5.5
translation: 6

Weight
type: NamedIndividual
type: Switch
has parent: Transform 2 6
has children: Group 2 6 1 1
has children: Group 2 6 1 2
has children: Group 2 6 1 3
has children: Group 2 6 1 4
DEF: Weight
which choice: 0

Text 2 6 1 1 1 2
type: NamedIndividual
type: Text
has parent: Shape 2 6 1 1 1
string: "Click Here to Change Counter Weight (50 lbs)"

Text 2 6 1 2 1 2
type: NamedIndividual
type: Text
has parent: Shape 2 6 1 2 1
string: "Click Here to Change Counter Weight (500 lbs)"

Text 2 6 1 3 1 2
type: NamedIndividual
type: Text
has parent: Shape 2 6 1 3 1
string: "Click Here to Change Counter Weight (1000 lbs)"

Text 2 6 1 4 1 2
type: NamedIndividual
type: Text
has parent: Shape 2 6 1 4 1
string: "Click Here to Change Counter Weight (10000 lbs)"

weightselector
type: NamedIndividual
type: TouchSensor
has parent: Transform 2 6
DEF: weightselector
description: weight selector

Transform 2 6 3
type: NamedIndividual
type: Transform
has parent: Transform 2 6
has children: Shape 2 6 3 1
translation: 8
translation: 0

Box 2 6 3 1 1
type: NamedIndividual
type: Box
has parent: Shape 2 6 3 1
size: 20
size: 1

Material 2 6 3 1 2 1
type: NamedIndividual
type: Material
has parent: Appearance 2 6 3 1 2
transparency: 1

Transform 2 7
type: NamedIndividual
type: Transform
has parent: Scene
has children: launch
has children: Transform 2 7 2
rotation: 0
rotation: 1
rotation: 1.57
translation: 10
translation: .5
translation: 4.5

launch
type: NamedIndividual
type: Transform
has parent: Transform 2 7
has children: Billboard 2 7 1 1
has children: Launch
DEF: launch
translation: 0
translation: 2
translation: 5

Material 2 7 1 1 1 1 1
type: NamedIndividual
type: Material
has parent: Appearance 2 7 1 1 1 1
diffuse color: 1
diffuse color: 0

Text 2 7 1 1 1 2
type: NamedIndividual
type: Text
has parent: Shape 2 7 1 1 1
has font style: FontStyle 2 7 1 1 1 2 1
string: "LAUNCH"

Transform 2 7 1 1 2
type: NamedIndividual
type: Transform
has parent: Billboard 2 7 1 1
has children: Shape 2 7 1 1 2 1
translation: 2
translation: .3
translation: 0

Box 2 7 1 1 2 1 1
type: NamedIndividual
type: Box
has parent: Shape 2 7 1 1 2 1
size: 5
size: 1

Material 2 7 1 1 2 1 2 1
type: NamedIndividual
type: Material
has parent: Appearance 2 7 1 1 2 1 2
transparency: 1

PigdogMonk
type: NamedIndividual
type: Switch
has parent: Billboard 2 7 1 1
has children: Group 2 7 1 1 3 1
has children: Group 2 7 1 1 3 2
DEF: PigdogMonk
which choice: -1

Sound 2 7 1 1 3 1 1
type: NamedIndividual
type: Sound
has parent: Group 2 7 1 1 3 1
has source: PigDogSound
max back: 1000
max front: 1000

PigDogSound
type: NamedIndividual
type: AudioClip
has parent: Sound 2 7 1 1 3 1 1
DEF: PigDogSound
description: PigDogSound
url: "pigdog.wav" "http://www.nps.navy.mil/code32/vrml/pigdog.wav"

Sound 2 7 1 1 3 2 1
type: NamedIndividual
type: Sound
has parent: Group 2 7 1 1 3 2
has source: MonkSound
max back: 1000
max front: 1000

MonkSound
type: NamedIndividual
type: AudioClip
has parent: Sound 2 7 1 1 3 2 1
DEF: MonkSound
description: MonkSound
url: "monks.wav" "https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/monks.wav"

Launch
type: NamedIndividual
type: TouchSensor
has parent: launch
DEF: Launch
description: launch!

projectilename
type: NamedIndividual
type: Switch
has parent: Transform 2 7 2
has children: Group 2 7 2 1 1
has children: Group 2 7 2 1 2
has children: Group 2 7 2 1 3
DEF: projectilename
which choice: 0

Text 2 7 2 1 1 1 2
type: NamedIndividual
type: Text
has parent: Shape 2 7 2 1 1 1
has font style: FontStyle 2 7 2 1 1 1 2 1
string: "Bowling Ball (10 lbs)"

FontStyle 2 7 2 1 1 1 2 1
type: NamedIndividual
type: FontStyle
has parent: Text 2 7 2 1 1 1 2
size: .5

Sound 2 7 2 1 1 2
type: NamedIndividual
type: Sound
has parent: Group 2 7 2 1 1
has source: HolyHandGrenadeSound
max back: 1000
max front: 1000
priority: 1

HolyHandGrenadeSound
type: NamedIndividual
type: AudioClip
has parent: Sound 2 7 2 1 1 2
DEF: HolyHandGrenadeSound
description: HolyHandGrenadeSound
url: "grenade.wav"

Text 2 7 2 1 2 1 2
type: NamedIndividual
type: Text
has parent: Shape 2 7 2 1 2 1
has font style: FontStyle 2 7 2 1 2 1 2 1
string: "Cow (1000 lbs)"

FontStyle 2 7 2 1 2 1 2 1
type: NamedIndividual
type: FontStyle
has parent: Text 2 7 2 1 2 1 2
size: .5

Sound 2 7 2 1 2 2
type: NamedIndividual
type: Sound
has parent: Group 2 7 2 1 2
has source: CowSound
max back: 1000
max front: 1000

CowSound
type: NamedIndividual
type: AudioClip
has parent: Sound 2 7 2 1 2 2
DEF: CowSound
description: CowSound
url: "lavache.wav"

Text 2 7 2 1 3 1 2
type: NamedIndividual
type: Text
has parent: Shape 2 7 2 1 3 1
has font style: FontStyle 2 7 2 1 3 1 2 1
string: "Chicken (5 lbs)"

FontStyle 2 7 2 1 3 1 2 1
type: NamedIndividual
type: FontStyle
has parent: Text 2 7 2 1 3 1 2
size: .5

Sound 2 7 2 1 3 2
type: NamedIndividual
type: Sound
has parent: Group 2 7 2 1 3
has source: HamsterSound
max back: 1000
max front: 1000
priority: 1

HamsterSound
type: NamedIndividual
type: AudioClip
has parent: Sound 2 7 2 1 3 2
DEF: HamsterSound
description: HamsterSound
url: "hamster.wav"

Transform 2 8
type: NamedIndividual
type: Transform
has parent: Scene
has children: aft
rotation: 0
rotation: 1
rotation: -1.67

aft
type: NamedIndividual
type: Transform
has parent: Transform 2 8
has children: Transform 2 8 1 1
DEF: aft
translation: 5
translation: 15

Transform 2 8 1 1
type: NamedIndividual
type: Transform
has parent: aft
has children: launch-USE-1
translation: -2.5
translation: -4.5
translation: -2

Transform 2 9
type: NamedIndividual
type: Transform
has parent: Scene
has children: plank
has children: angledsupport
has children: angledsupport2
has children: verticalsupport
has children: horizontalsupport
has children: Transform 2 9 6
has children: panel
has children: Transform 2 9 8
has children: flinger
has children: Transform 2 9 10
has children: verticalweight
has children: Transform 2 9 12
has children: Transform 2 9 13
has children: Transform 2 9 14
has children: Transform 2 9 15
translation: 0
translation: 3

plank
type: NamedIndividual
type: Shape
has parent: Transform 2 9
has geometry: Box 2 9 1 1
has appearance: wood
DEF: plank

Box 2 9 1 1
type: NamedIndividual
type: Box
has parent: plank
size: 25
size: 1

wood
type: NamedIndividual
type: Appearance
has parent: plank
has texture: woodTexture
DEF: wood

woodTexture
type: NamedIndividual
type: ImageTexture
has parent: wood
DEF: woodTexture
url: "wood.gif" "https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/wood.gif"

angledsupport
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: plank-USE-1
DEF: angledsupport
rotation: 0
rotation: 1
translation: -5
translation: 10
translation: 0

angledsupport2
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: plank-USE-2
DEF: angledsupport2
rotation: 0
rotation: 1
rotation: -1
translation: 5
translation: 10
translation: 0

verticalsupport
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: plank-USE-3
DEF: verticalsupport
rotation: 0
rotation: 1
rotation: 1.57
scale: .9
scale: 1
translation: 0
translation: 11

horizontalsupport
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: plank-USE-4
DEF: horizontalsupport
scale: .4
scale: 1
translation: 0
translation: 10

Transform 2 9 6
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: Transform 2 9 6 1
rotation: 0
rotation: 1
rotation: 1.57
scale: .6
scale: 1
translation: 0
translation: 5
translation: 10

Transform 2 9 6 1
type: NamedIndividual
type: Transform
has parent: Transform 2 9 6
has children: plank-USE-5
rotation: 0
rotation: 1
rotation: .4

panel
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: Shape 2 9 7 1
DEF: panel
translation: 0
translation: 18.2
translation: -0.3

Box 2 9 7 1 1
type: NamedIndividual
type: Box
has parent: Shape 2 9 7 1
size: 5
size: .5

Transform 2 9 8
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: Transform 2 9 8 1
rotation: 1
rotation: 0
rotation: -1.57
translation: 0
translation: 0.6
translation: 2.5

Transform 2 9 8 1
type: NamedIndividual
type: Transform
has parent: Transform 2 9 8
has children: Shape 2 9 8 1 1
rotation: 0
rotation: 1
rotation: 1.57

Extrusion 2 9 8 1 1 1
type: NamedIndividual
type: Extrusion
has parent: Shape 2 9 8 1 1
begin cap: false
cross section: 1.0
cross section: -0.38
cross section: .92
cross section: .71
cross section: -0.71
cross section: .38
cross section: -0.92
cross section: 0.0
cross section: -1.0
cross section: -1
cross section: -1.1
cross section: 1
end cap: false
solid: false
spine: 0
spine: 6
spine: -11

flinger
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: Transform 2 9 9 1
has children: Transform 2 9 9 2
has children: Transform 2 9 9 3
has children: Transform 2 9 9 4
has children: RnS
DEF: flinger
center: 7
center: 0
rotation: 0
rotation: 1
rotation: .82
scale: .9
scale: 1
translation: -7
translation: 18
translation: 2.5

Box 2 9 9 1 1 1
type: NamedIndividual
type: Box
has parent: Shape 2 9 9 1 1
size: 35
size: 1

Transform 2 9 9 1 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 1
has children: Shape 2 9 9 1 2 1
translation: 7
translation: 0

Box 2 9 9 1 2 1 1
type: NamedIndividual
type: Box
has parent: Shape 2 9 9 1 2 1
size: 8
size: 2

Transform 2 9 9 2
type: NamedIndividual
type: Transform
has parent: flinger
has children: Torus
has children: Transform 2 9 9 2 2
rotation: 1
rotation: 0
rotation: 1.57
scale: .2
translation: -15
translation: -1
translation: 0

Torus
type: NamedIndividual
type: Shape
has parent: Transform 2 9 9 2
has appearance: Appearance 2 9 9 2 1 1
has geometry: Extrusion 2 9 9 2 1 2
DEF: Torus

Material 2 9 9 2 1 1 1
type: NamedIndividual
type: Material
has parent: Appearance 2 9 9 2 1 1
specular color: 1

Extrusion 2 9 9 2 1 2
type: NamedIndividual
type: Extrusion
has parent: Torus
begin cap: false
convex: false
crease angle: 1.57
cross section: .90
cross section: 0.00
cross section: 0.81
cross section: -0.34
cross section: 0.63
cross section: -0.63
cross section: 0.34
cross section: -0.83
cross section: -0.9
cross section: -0.81
cross section: -0.90
cross section: -0.00
cross section: 0.38
end cap: false
spine: 2.00
spine: 0.0
spine: 0.00
spine: 1.85
spine: 0.77
spine: 1.41
spine: -0.77
spine: -1.41
spine: -1.85
spine: -2.00

Transform 2 9 9 2 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 2
has children: Shape 2 9 9 2 2 1
translation: 1
translation: 0
translation: 2

rope
type: NamedIndividual
type: Appearance
has parent: Shape 2 9 9 2 2 1
has texture: woodTexture-USE-1
DEF: rope

Sphere 2 9 9 2 2 1 2
type: NamedIndividual
type: Sphere
has parent: Shape 2 9 9 2 2 1
radius: 1.5

Transform 2 9 9 3
type: NamedIndividual
type: Transform
has parent: flinger
has children: Shape 2 9 9 3 1
has children: Transform 2 9 9 3 2
has children: Transform 2 9 9 3 3
rotation: 0
rotation: 1
rotation: 1.2
scale: .2
translation: -18.3
translation: 0.3
translation: 0

Cylinder 2 9 9 3 1 1
type: NamedIndividual
type: Cylinder
has parent: Shape 2 9 9 3 1
height: 10

Material 2 9 9 3 1 2 1
type: NamedIndividual
type: Material
has parent: Appearance 2 9 9 3 1 2
specular color: 1

Transform 2 9 9 3 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 3
has children: Torus-USE-1
has children: Transform 2 9 9 3 2 2
translation: 0
translation: -2.5

Transform 2 9 9 3 2 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 3 2
has children: Shape 2 9 9 3 2 2 1
translation: -2
translation: -0
translation: 0

Sphere 2 9 9 3 2 2 1 1
type: NamedIndividual
type: Sphere
has parent: Shape 2 9 9 3 2 2 1
radius: 1.5

Transform 2 9 9 3 3
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 3
has children: Transform 2 9 9 3 3 1
rotation: 0
rotation: 1
rotation: 1.2
translation: 15
translation: 55
translation: -11

Transform 2 9 9 3 3 1
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 3 3
has children: Shape 2 9 9 3 3 1 1
scale: 5

Extrusion 2 9 9 3 3 1 1 2
type: NamedIndividual
type: Extrusion
has parent: Shape 2 9 9 3 3 1 1
begin cap: false
crease angle: 0.76
cross section: .100
cross section: 0.00
cross section: 0.092
cross section: -0.038
cross section: 0.071
cross section: -0.071
cross section: 0.038
cross section: -0.092
cross section: -0.100
cross section: -0.00
end cap: false
solid: false
spine: -15.2
spine: 1.4
spine: 2.2
spine: -12
spine: -0.8

Transform 2 9 9 4
type: NamedIndividual
type: Transform
has parent: flinger
has children: Transform 2 9 9 4 1
rotation: 1
rotation: 0
rotation: -1.7
translation: -17
translation: -4.5
translation: 0

Transform 2 9 9 4 1
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 4
has children: Torus-USE-2
has children: Transform 2 9 9 4 1 2
scale: .2

Transform 2 9 9 4 1 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 4 1
has children: Shape 2 9 9 4 1 2 1
translation: -1
translation: 0
translation: 1.7

Sphere 2 9 9 4 1 2 1 1
type: NamedIndividual
type: Sphere
has parent: Shape 2 9 9 4 1 2 1
radius: 1.5

RnS
type: NamedIndividual
type: Transform
has parent: flinger
has children: ropes
has children: sling
DEF: RnS

ropes
type: NamedIndividual
type: Transform
has parent: RnS
has children: Transform 2 9 9 5 1 1
DEF: ropes

Transform 2 9 9 5 1 1
type: NamedIndividual
type: Transform
has parent: ropes
has children: Shape 2 9 9 5 1 1 1
has children: Shape 2 9 9 5 1 1 2
rotation: 0
rotation: 1
rotation: -0.82
translation: 7
translation: -26
translation: -2.5

Extrusion 2 9 9 5 1 1 1 2
type: NamedIndividual
type: Extrusion
has parent: Shape 2 9 9 5 1 1 1
begin cap: false
crease angle: 0.76
cross section: .100
cross section: 0.00
cross section: 0.092
cross section: -0.038
cross section: 0.071
cross section: -0.071
cross section: 0.038
cross section: -0.092
cross section: -0.100
cross section: -0.00
end cap: false
solid: false
spine: -33
spine: .9
spine: 2.5
spine: -18.5
spine: 1.9
spine: 2.55

Extrusion 2 9 9 5 1 1 2 2
type: NamedIndividual
type: Extrusion
has parent: Shape 2 9 9 5 1 1 2
begin cap: false
crease angle: 0.76
cross section: .100
cross section: 0.00
cross section: 0.092
cross section: -0.038
cross section: 0.071
cross section: -0.071
cross section: 0.038
cross section: -0.092
cross section: -0.100
cross section: -0.00
end cap: false
solid: false
spine: -35.7
spine: -0.8
spine: 2.5
spine: -18.8
spine: 2.55

sling
type: NamedIndividual
type: Transform
has parent: RnS
has children: Transform 2 9 9 5 2 1
DEF: sling
rotation: 0
rotation: 1
rotation: -0.82
translation: -4
translation: -15.3
translation: 0

Transform 2 9 9 5 2 1 1
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 5 2 1
has children: Transform 2 9 9 5 2 1 1 1
has children: LauncheeChoice
rotation: 0
rotation: 1
rotation: -1.57
scale: 1
scale: 1.3
translation: .5
translation: 0
translation: -1

Transform 2 9 9 5 2 1 1 1
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 5 2 1 1
has children: Transform 2 9 9 5 2 1 1 1 1
has children: Transform 2 9 9 5 2 1 1 1 2
has children: Transform 2 9 9 5 2 1 1 1 3
rotation: 0
rotation: 1
rotation: 1.57

Transform 2 9 9 5 2 1 1 1 1
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 5 2 1 1 1
has children: halfsling
has children: Transform 2 9 9 5 2 1 1 1 1 2
scale: .3

halfsling
type: NamedIndividual
type: Shape
has parent: Transform 2 9 9 5 2 1 1 1 1
has appearance: clear
has geometry: Extrusion 2 9 9 5 2 1 1 1 1 1 2
DEF: halfsling

clear
type: NamedIndividual
type: Appearance
has parent: halfsling
has material: Material 2 9 9 5 2 1 1 1 1 1 1 1
DEF: clear

Material 2 9 9 5 2 1 1 1 1 1 1 1
type: NamedIndividual
type: Material
has parent: clear
transparency: .5

Extrusion 2 9 9 5 2 1 1 1 1 1 2
type: NamedIndividual
type: Extrusion
has parent: halfsling
cross section: 0
cross section: 5
cross section: .5
cross section: 7
cross section: 1
cross section: 8
cross section: 2
cross section: 9
cross section: 3
cross section: 11
cross section: 3.5
cross section: 11.2
cross section: 4
cross section: 6
cross section: 6.5
cross section: 6.7
spine: 0
spine: .1

Transform 2 9 9 5 2 1 1 1 1 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 5 2 1 1 1 1
has children: Torus-USE-3
has children: Transform 2 9 9 5 2 1 1 1 1 2 2
scale: .3
translation: 0
translation: -3.5
translation: 11.5

Transform 2 9 9 5 2 1 1 1 1 2 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 5 2 1 1 1 1 2
has children: Shape 2 9 9 5 2 1 1 1 1 2 2 1
translation: 0
translation: 2

Sphere 2 9 9 5 2 1 1 1 1 2 2 1 2
type: NamedIndividual
type: Sphere
has parent: Shape 2 9 9 5 2 1 1 1 1 2 2 1
radius: 1.5

Transform 2 9 9 5 2 1 1 1 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 5 2 1 1 1
has children: halfsling-USE-1
has children: Transform 2 9 9 5 2 1 1 1 2 2
scale: .3
translation: 2
translation: 0

Transform 2 9 9 5 2 1 1 1 2 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 5 2 1 1 1 2
has children: Torus-USE-4
has children: Transform 2 9 9 5 2 1 1 1 2 2 2
scale: .3
translation: 0
translation: -3.5
translation: 11.3

Transform 2 9 9 5 2 1 1 1 2 2 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 5 2 1 1 1 2 2
has children: Shape 2 9 9 5 2 1 1 1 2 2 2 1
translation: 0
translation: 2

Sphere 2 9 9 5 2 1 1 1 2 2 2 1 2
type: NamedIndividual
type: Sphere
has parent: Shape 2 9 9 5 2 1 1 1 2 2 2 1
radius: 1.5

Transform 2 9 9 5 2 1 1 1 3
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 5 2 1 1 1
has children: Shape 2 9 9 5 2 1 1 1 3 1
translation: 1
translation: -1
translation: 0

Extrusion 2 9 9 5 2 1 1 1 3 1 1
type: NamedIndividual
type: Extrusion
has parent: Shape 2 9 9 5 2 1 1 1 3 1
begin cap: false
crease angle: 0.785
cross section: 1.00
cross section: 0.00
cross section: 0.92
cross section: -0.38
cross section: 0.71
cross section: -0.71
cross section: 0.38
cross section: -0.92
cross section: -1.00
cross section: -0.00
end cap: false
solid: false
spine: 0
spine: -1
spine: 1

LauncheeChoice
type: NamedIndividual
type: TouchSensor
has parent: Transform 2 9 9 5 2 1 1
DEF: LauncheeChoice
description: launcher choice

projectiletransform
type: NamedIndividual
type: Transform
has parent: Transform 2 9 9 5 2 1
has children: projectile
DEF: projectiletransform
scale: .01

projectile
type: NamedIndividual
type: Switch
has parent: projectiletransform
has children: Group 2 9 9 5 2 1 2 1 1
has children: Group 2 9 9 5 2 1 2 1 2
has children: Group 2 9 9 5 2 1 2 1 3
DEF: projectile
which choice: 0

Transform 2 9 9 5 2 1 2 1 1 1
type: NamedIndividual
type: Transform
has parent: Group 2 9 9 5 2 1 2 1 1
has children: Shape 2 9 9 5 2 1 2 1 1 1 1
translation: 0
translation: .7

Sphere 2 9 9 5 2 1 2 1 1 1 1 1
type: NamedIndividual
type: Sphere
has parent: Shape 2 9 9 5 2 1 2 1 1 1 1
radius: .7

black
type: NamedIndividual
type: Appearance
has parent: Shape 2 9 9 5 2 1 2 1 1 1 1
has material: Material 2 9 9 5 2 1 2 1 1 1 1 2 1
DEF: black

Material 2 9 9 5 2 1 2 1 1 1 1 2 1
type: NamedIndividual
type: Material
has parent: black
diffuse color: 0
specular color: 1

Inline 2 9 9 5 2 1 2 1 2 1 1
type: NamedIndividual
type: Inline
has parent: Transform 2 9 9 5 2 1 2 1 2 1
url: "cow.wrl" "http://www.uoguelph.ca/~dchiu/cow.wrl"

Transform 2 9 9 5 2 1 2 1 3 1
type: NamedIndividual
type: Transform
has parent: Group 2 9 9 5 2 1 2 1 3
has children: Inline 2 9 9 5 2 1 2 1 3 1 1
rotation: 0
rotation: 1
rotation: 1.57
scale: .4
translation: 0
translation: .7

Inline 2 9 9 5 2 1 2 1 3 1 1
type: NamedIndividual
type: Inline
has parent: Transform 2 9 9 5 2 1 2 1 3 1
url: "vrml_ginger.wrl" "http://home.inreach.com/ntamura/vrml/vrml_ginger.wrl"

Transform 2 9 10
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: Shape 2 9 10 1
rotation: 1
rotation: 0
rotation: 1.57
translation: 0
translation: 18
translation: 2.5

Cylinder 2 9 10 1 1
type: NamedIndividual
type: Cylinder
has parent: Shape 2 9 10 1
height: 8
radius: .4

Material 2 9 10 1 2 1
type: NamedIndividual
type: Material
has parent: Appearance 2 9 10 1 2
diffuse color: 0
specular color: 1

verticalweight
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: Transform 2 9 11 1
has children: Transform 2 9 11 2
has children: Transform 2 9 11 3
has children: Transform 2 9 11 4
DEF: verticalweight

Transform 2 9 11 1
type: NamedIndividual
type: Transform
has parent: verticalweight
has children: Shape 2 9 11 1 1
translation: 4
translation: 18
translation: 1.8

Box 2 9 11 1 1 1
type: NamedIndividual
type: Box
has parent: Shape 2 9 11 1 1
size: 1
size: 10
size: .5

Transform 2 9 11 2
type: NamedIndividual
type: Transform
has parent: verticalweight
has children: Shape 2 9 11 2 1
translation: 4
translation: 18
translation: 3.2

Box 2 9 11 2 1 1
type: NamedIndividual
type: Box
has parent: Shape 2 9 11 2 1
size: 1
size: 10
size: .5

Transform 2 9 11 3
type: NamedIndividual
type: Transform
has parent: verticalweight
has children: Shape 2 9 11 3 1
translation: 4
translation: 14
translation: 2.5

Cylinder 2 9 11 3 1 1
type: NamedIndividual
type: Cylinder
has parent: Shape 2 9 11 3 1
height: 4
radius: 1.5

Material 2 9 11 3 1 2 1
type: NamedIndividual
type: Material
has parent: Appearance 2 9 11 3 1 2
diffuse color: 0
specular color: 1

Transform 2 9 11 4
type: NamedIndividual
type: Transform
has parent: verticalweight
has children: Shape 2 9 11 4 1
rotation: 1
rotation: 0
rotation: 1.57
translation: 4
translation: 22
translation: 2.5

Cylinder 2 9 11 4 1 1
type: NamedIndividual
type: Cylinder
has parent: Shape 2 9 11 4 1
height: 2.5
radius: .3

Material 2 9 11 4 1 2 1
type: NamedIndividual
type: Material
has parent: Appearance 2 9 11 4 1 2
diffuse color: 0
specular color: 1

Transform 2 9 12
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: screw
has children: Transform 2 9 12 2
has children: Pin
rotation: 0
rotation: 1
rotation: 1.57
scale: .2
translation: -11.5
translation: -1
translation: 2

screw
type: NamedIndividual
type: Transform
has parent: Transform 2 9 12
has children: Torus-USE-5
has children: Transform 2 9 12 1 2
DEF: screw
rotation: 1
rotation: 0
rotation: 1.57

Transform 2 9 12 1 2
type: NamedIndividual
type: Transform
has parent: screw
has children: Shape 2 9 12 1 2 1
rotation: 1
rotation: 0
rotation: -1.57
translation: 0
translation: 7

Cylinder 2 9 12 1 2 1 1
type: NamedIndividual
type: Cylinder
has parent: Shape 2 9 12 1 2 1
height: 10
radius: .7

Material 2 9 12 1 2 1 2 1
type: NamedIndividual
type: Material
has parent: Appearance 2 9 12 1 2 1 2
specular color: 1

Transform 2 9 12 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 12
has children: screw-USE-1
translation: 0
translation: 7

Pin
type: NamedIndividual
type: Transform
has parent: Transform 2 9 12
has children: screw-USE-2
DEF: Pin
rotation: 1
rotation: 0
rotation: -1.57
translation: 0
translation: -3

Transform 2 9 13
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: plank-USE-6
has children: angledsupport-USE-1
has children: angledsupport2-USE-1
has children: verticalsupport-USE-1
has children: horizontalsupport-USE-1
has children: Transform 2 9 13 6
has children: Transform 2 9 13 7
has children: Transform 2 9 13 8
translation: 0
translation: 5

Transform 2 9 13 6
type: NamedIndividual
type: Transform
has parent: Transform 2 9 13
has children: horizontalsupport-USE-2
rotation: 0
rotation: 1
rotation: 1.57
scale: .6
scale: 1
translation: 0
translation: -11
translation: -2.5

Transform 2 9 13 7
type: NamedIndividual
type: Transform
has parent: Transform 2 9 13
has children: Transform 2 9 13 7 1
rotation: 0
rotation: 1
rotation: -1.57
scale: .6
scale: 1
translation: 0
translation: 5
translation: -10

Transform 2 9 13 7 1
type: NamedIndividual
type: Transform
has parent: Transform 2 9 13 7
has children: plank-USE-7
rotation: 0
rotation: 1
rotation: .4

Transform 2 9 13 8
type: NamedIndividual
type: Transform
has parent: Transform 2 9 13
has children: panel-USE-1
translation: 0
translation: .6

Transform 2 9 14
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: Axle
has children: Transform 2 9 14 2
has children: Transform 2 9 14 3
translation: 10
translation: -1
translation: 2.5

Axle
type: NamedIndividual
type: Shape
has parent: Transform 2 9 14
has geometry: Box 2 9 14 1 1
has appearance: wood-USE-7
DEF: Axle

Box 2 9 14 1 1
type: NamedIndividual
type: Box
has parent: Axle
size: 1
size: 8

Transform 2 9 14 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 14
has children: wheel
has children: tracks
has children: Transform 2 9 14 2 3
rotation: 1
rotation: 0
rotation: 1.57
translation: 0
translation: 4.5

wheel
type: NamedIndividual
type: Shape
has parent: Transform 2 9 14 2
has geometry: Cylinder 2 9 14 2 1 1
has appearance: wood-USE-8
DEF: wheel

Cylinder 2 9 14 2 1 1
type: NamedIndividual
type: Cylinder
has parent: wheel
radius: 2

tracks
type: NamedIndividual
type: Shape
has parent: Transform 2 9 14 2
has geometry: Sphere 2 9 14 2 2 1
has appearance: black-USE-1
DEF: tracks

Sphere 2 9 14 2 2 1
type: NamedIndividual
type: Sphere
has parent: tracks
radius: 1.5

Transform 2 9 14 2 3
type: NamedIndividual
type: Transform
has parent: Transform 2 9 14 2
has children: hub
translation: 0
translation: .55

hub
type: NamedIndividual
type: Shape
has parent: Transform 2 9 14 2 3
has geometry: Sphere 2 9 14 2 3 1 1
has appearance: black-USE-2
DEF: hub

Sphere 2 9 14 2 3 1 1
type: NamedIndividual
type: Sphere
has parent: hub
radius: 1.5

Transform 2 9 14 3
type: NamedIndividual
type: Transform
has parent: Transform 2 9 14
has children: wheel-USE-1
has children: tracks-USE-1
has children: Transform 2 9 14 3 3
rotation: 1
rotation: 0
rotation: 1.57
translation: 0
translation: -4.5

Transform 2 9 14 3 3
type: NamedIndividual
type: Transform
has parent: Transform 2 9 14 3
has children: hub-USE-1
translation: 0
translation: -0.55

Transform 2 9 15
type: NamedIndividual
type: Transform
has parent: Transform 2 9
has children: Axle-USE-1
has children: Transform 2 9 15 2
has children: Transform 2 9 15 3
has children: Transform 2 9 15 4
has children: ProjectileTransform
has children: Transform 2 9 15 6
has children: Transform 2 9 15 7
has children: WeightScript
has children: LauncheeScript
has children: PigdogMonkScript
has children: Mover
translation: -10
translation: -1
translation: 2.5

Transform 2 9 15 2
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15
has children: wheel-USE-2
has children: tracks-USE-2
has children: Transform 2 9 15 2 3
rotation: 1
rotation: 0
rotation: 1.57
translation: 0
translation: 4.5

Transform 2 9 15 2 3
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15 2
has children: hub-USE-2
translation: 0
translation: .55

Transform 2 9 15 3
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15
has children: wheel-USE-3
has children: tracks-USE-3
has children: Transform 2 9 15 3 3
rotation: 1
rotation: 0
rotation: 1.57
translation: 0
translation: -4.5

Transform 2 9 15 3 3
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15 3
has children: hub-USE-3
translation: 0
translation: -0.55

Transform 2 9 15 4
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15
has children: Transform 2 9 15 4 1
has children: launch-USE-2
has children: Transform 2 9 15 4 3
has children: Transform 2 9 15 4 4
rotation: 0
rotation: 1
rotation: -0.6
translation: 0
translation: 100
translation: 400

Transform 2 9 15 4 1
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15 4
has children: Viewpoint 2 9 15 4 1 1
translation: 1
translation: 3
translation: 0

Viewpoint 2 9 15 4 1 1
type: NamedIndividual
type: Viewpoint
has parent: Transform 2 9 15 4 1
description: Side

Transform 2 9 15 4 3 3
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15 4 3
has children: Shape 2 9 15 4 3 3 1
translation: 2.5
translation: 0

Box 2 9 15 4 3 3 1 1
type: NamedIndividual
type: Box
has parent: Shape 2 9 15 4 3 3 1
size: 5
size: .5

Material 2 9 15 4 3 3 1 2 1
type: NamedIndividual
type: Material
has parent: Appearance 2 9 15 4 3 3 1 2
transparency: 1

Transform 2 9 15 4 4
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15 4
has children: weightselector-USE-1
has children: Weight-USE-1
has children: Transform 2 9 15 4 4 3
scale: .5
translation: 0
translation: -1

Transform 2 9 15 4 4 3
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15 4 4
has children: Shape 2 9 15 4 4 3 1
translation: 8
translation: 0

Box 2 9 15 4 4 3 1 1
type: NamedIndividual
type: Box
has parent: Shape 2 9 15 4 4 3 1
size: 17
size: 1
size: .5

Material 2 9 15 4 4 3 1 2 1
type: NamedIndividual
type: Material
has parent: Appearance 2 9 15 4 4 3 1 2
transparency: 1

ProjectileTransform
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15
has children: projectile-USE-1
has children: Transform 2 9 15 5 2
DEF: ProjectileTransform
translation: 14.25
translation: 1.25
translation: 0

Transform 2 9 15 5 2
type: NamedIndividual
type: Transform
has parent: ProjectileTransform
has children: Viewpoint 2 9 15 5 2 1
rotation: 0
rotation: 1
rotation: 1.57
translation: 0
translation: 1

Viewpoint 2 9 15 5 2 1
type: NamedIndividual
type: Viewpoint
has parent: Transform 2 9 15 5 2
description: Projectile Cam
position: 0
position: 15

Transform 2 9 15 6
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15
has children: Front
translation: 20
translation: 2
translation: 0

Front
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15 6
has children: Viewpoint 2 9 15 6 1 1
DEF: Front
rotation: 0
rotation: 1
rotation: 1.57

Viewpoint 2 9 15 6 1 1
type: NamedIndividual
type: Viewpoint
has parent: Front
description: Fore

Transform 2 9 15 7
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15
has children: Transform 2 9 15 7 1
translation: -8
translation: 4
translation: 0

Transform 2 9 15 7 1
type: NamedIndividual
type: Transform
has parent: Transform 2 9 15 7
has children: Viewpoint 2 9 15 7 1 1
rotation: 0
rotation: 1
rotation: -1.57

Viewpoint 2 9 15 7 1 1
type: NamedIndividual
type: Viewpoint
has parent: Transform 2 9 15 7 1
description: Aft

WeightScript
type: NamedIndividual
type: Script
has parent: Transform 2 9 15
has field: field 2 9 15 8 1
has field: field 2 9 15 8 2
has field: field 2 9 15 8 3
DEF: WeightScript
source code: ecmascript: function initialize () { whichchoice =0; CounterWeight=100; } function set_boolean ( boolean_input, eventTime) { if ( boolean_input== false ) { return; } // ignore the unclick whichchoice = whichchoice +1; if (whichchoice == 0)CounterWeight=50.00; if (whichchoice == 1)CounterWeight=500.00; if (whichchoice == 2)CounterWeight=1000.00; if (whichchoice == 3)CounterWeight=10000.00; if ( whichchoice ==4 ) { whichchoice = 0; CounterWeight=50; } Browser.println ('CounterWeight ='+CounterWeight); }

field 2 9 15 8 1
type: NamedIndividual
type: field
has parent: WeightScript
access type: inputOnly
name: set_boolean
type: SFBool

field 2 9 15 8 2
type: NamedIndividual
type: field
has parent: WeightScript
access type: outputOnly
name: whichchoice
type: SFInt32

field 2 9 15 8 3
type: NamedIndividual
type: field
has parent: WeightScript
access type: outputOnly
name: CounterWeight
type: SFFloat

LauncheeScript
type: NamedIndividual
type: Script
has parent: Transform 2 9 15
has field: field 2 9 15 9 1
has field: field 2 9 15 9 2
has field: field 2 9 15 9 3
DEF: LauncheeScript
source code: ecmascript: function set_boolean (boolean_input, eventTime) { if ( boolean_input== false ) { return; } // ignore unclick whichchoice = whichchoice +1; if (whichchoice == 0)ProjectileWeight=10.00; if (whichchoice == 1)ProjectileWeight=1000.00; if (whichchoice == 2)ProjectileWeight=5; if ( whichchoice ==3 ) { whichchoice = 0; ProjectileWeight=10.00; } Browser.println ('Projectile Weight'+ProjectileWeight); }

field 2 9 15 9 1
type: NamedIndividual
type: field
has parent: LauncheeScript
access type: inputOnly
name: set_boolean
type: SFBool

field 2 9 15 9 2
type: NamedIndividual
type: field
has parent: LauncheeScript
access type: outputOnly
name: whichchoice
type: SFInt32

field 2 9 15 9 3
type: NamedIndividual
type: field
has parent: LauncheeScript
access type: outputOnly
name: ProjectileWeight
type: SFFloat

PigdogMonkScript
type: NamedIndividual
type: Script
has parent: Transform 2 9 15
has field: field 2 9 15 10 1
has field: field 2 9 15 10 2
DEF: PigdogMonkScript
source code: ecmascript: function set_boolean (boolean_input, eventTime) { if ( boolean_input== false ) { return; } // ignore unclick whichchoice = whichchoice +1; if ( whichchoice ==2 ) whichchoice = 0; }

field 2 9 15 10 1
type: NamedIndividual
type: field
has parent: PigdogMonkScript
access type: inputOnly
name: set_boolean
type: SFBool

field 2 9 15 10 2
type: NamedIndividual
type: field
has parent: PigdogMonkScript
access type: outputOnly
name: whichchoice
type: SFInt32

Mover
type: NamedIndividual
type: Script
has parent: Transform 2 9 15
has field: field 2 9 15 11 1
has field: field 2 9 15 11 2
has field: field 2 9 15 11 3
has field: field 2 9 15 11 4
has field: field 2 9 15 11 5
has field: field 2 9 15 11 6
has field: field 2 9 15 11 7
DEF: Mover
source code: ecmascript: function initialize () { MassCounterWeight=100; MassProjectileWeight=10; Browser.println ('MassCounterWeight =' + MassCounterWeight); Browser.println ('MassProjectileWeight =' + MassProjectileWeight); } function set_MassProjectileWeight (value, timestamp) { MassProjectileWeight = value; Browser.println ('new MassProjectileWeight =' + MassProjectileWeight); } function set_MassCounterWeight (value2, timestamp) { MassCounterWeight = value2; Browser.println ('new MassCounterWeight =' + MassCounterWeight); } function set_fraction ( fraction, eventTime ) { var TrebuchetHeight=45; var Height =25; x = (2*(MassCounterWeight/MassProjectileWeight)*Height*fraction)-.5*TrebuchetHeight; // start at TrebuchetHeight and keep along z axis (z=zero) y = (MassCounterWeight/MassProjectileWeight)*Height*Math.sin(fraction*3.14); z = 0; transparent = new SFVec3f (1,1,1); if (y <1.5*TrebuchetHeight )if (x<TrebuchetHeight) { x=x-10; y=y+1; transparent = new SFVec3f(.01, .01, .01); } value_changed = new SFVec3f (x, y, z); Browser.println ('x=' + value_changed[0] + ' y=' + value_changed[1] + ' z=' + value_changed[2]); }

field 2 9 15 11 1
type: NamedIndividual
type: field
has parent: Mover
access type: inputOnly
name: set_fraction
type: SFFloat

field 2 9 15 11 2
type: NamedIndividual
type: field
has parent: Mover
access type: inputOnly
name: set_MassCounterWeight
type: SFFloat

field 2 9 15 11 3
type: NamedIndividual
type: field
has parent: Mover
access type: inputOnly
name: set_MassProjectileWeight
type: SFFloat

field 2 9 15 11 4
type: NamedIndividual
type: field
has parent: Mover
access type: initializeOnly
name: MassCounterWeight
type: SFFloat
value: 1

field 2 9 15 11 5
type: NamedIndividual
type: field
has parent: Mover
access type: initializeOnly
name: MassProjectileWeight
type: SFFloat
value: 1

field 2 9 15 11 6
type: NamedIndividual
type: field
has parent: Mover
access type: outputOnly
name: transparent
type: SFVec3f

field 2 9 15 11 7
type: NamedIndividual
type: field
has parent: Mover
access type: outputOnly
name: value_changed
type: SFVec3f

clock
type: NamedIndividual
type: TimeSensor
has parent: Scene
DEF: clock
cycle interval: 10

verticalweightpath
type: NamedIndividual
type: PositionInterpolator
has parent: Scene
DEF: verticalweightpath
key: 0
key: .1
key: .2
key: .3
key: .9
key value: 1.4
key value: 1.6
key value: 0
key value: 1
key value: -8
key value: -3.5
key value: -12
key value: 1.2

flingerangles
type: NamedIndividual
type: OrientationInterpolator
has parent: Scene
DEF: flingerangles
key: 0
key: .1
key: .2
key: .3
key: .9
key value: 0
key value: 1
key value: .82
key value: -0.77
key value: -1.57

pinpath
type: NamedIndividual
type: PositionInterpolator
has parent: Scene
DEF: pinpath
key: 0
key: .01
key: .95
key: 1
key value: 0
key value: -3
key value: -10

RnSAngels
type: NamedIndividual
type: OrientationInterpolator
has parent: Scene
DEF: RnSAngels
key: 0
key: .7
key: 1
key value: 0
key value: 1
key value: -3.14

invisiable
type: NamedIndividual
type: PositionInterpolator
has parent: Scene
DEF: invisiable
key: 0
key: .2
key: .98
key: .99
key value: 1
key value: .01

ROUTE 2 16
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: fraction_changed
from node: clock
to field: set_fraction
to node: invisiable

ROUTE 2 17
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: value_changed
from node: invisiable
to field: set_scale
to node: projectiletransform

ROUTE 2 18
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: CounterWeight
from node: WeightScript
to field: set_MassCounterWeight
to node: Mover

ROUTE 2 19
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: ProjectileWeight
from node: LauncheeScript
to field: set_MassProjectileWeight
to node: Mover

ROUTE 2 20
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: fraction_changed
from node: clock
to field: set_fraction
to node: Mover

ROUTE 2 21
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: value_changed
from node: Mover
to field: set_translation
to node: ProjectileTransform

ROUTE 2 22
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: transparent
from node: Mover
to field: set_scale
to node: ProjectileTransform

ROUTE 2 23
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: touchTime
from node: Launch
to field: set_startTime
to node: clock

ROUTE 2 24
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: isActive
from node: Launch
to field: set_boolean
to node: PigdogMonkScript

ROUTE 2 25
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: touchTime
from node: Launch
to field: set_startTime
to node: PigDogSound

ROUTE 2 26
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: touchTime
from node: Launch
to field: set_startTime
to node: MonkSound

ROUTE 2 27
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: whichchoice
from node: PigdogMonkScript
to field: whichChoice
to node: PigdogMonk

ROUTE 2 28
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: touchTime
from node: LauncheeChoice
to field: set_startTime
to node: HolyHandGrenadeSound

ROUTE 2 29
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: touchTime
from node: LauncheeChoice
to field: set_startTime
to node: CowSound

ROUTE 2 30
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: touchTime
from node: LauncheeChoice
to field: set_startTime
to node: HamsterSound

ROUTE 2 31
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: isActive
from node: LauncheeChoice
to field: set_boolean
to node: LauncheeScript

ROUTE 2 32
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: whichchoice
from node: LauncheeScript
to field: whichChoice
to node: projectile

ROUTE 2 33
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: whichchoice
from node: LauncheeScript
to field: whichChoice
to node: projectilename

ROUTE 2 34
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: isActive
from node: weightselector
to field: set_boolean
to node: WeightScript

ROUTE 2 35
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: whichchoice
from node: WeightScript
to field: whichChoice
to node: Weight

ROUTE 2 36
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: fraction_changed
from node: clock
to field: set_fraction
to node: flingerangles

ROUTE 2 37
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: value_changed
from node: flingerangles
to field: set_rotation
to node: flinger

ROUTE 2 38
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: fraction_changed
from node: clock
to field: set_fraction
to node: verticalweightpath

ROUTE 2 39
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: value_changed
from node: verticalweightpath
to field: set_translation
to node: verticalweight

ROUTE 2 40
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: fraction_changed
from node: clock
to field: set_fraction
to node: pinpath

ROUTE 2 41
type: NamedIndividual
type: ROUTE
has parent: Scene
from field: value_changed
from node: pinpath
to field: set_translation
to node: Pin