Lightweight 155mm howitzer (LW155) used by the US Army and USMC, with rotation capabilities for both barrel elevation and swivel-platform heading.
X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit
Modified CylinderSensor with children nodes oriented about an arbitrary axis. Warning: ArbitraryAxisCylinderSensor affects children, not peers.
"../../../Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.x3d#ArbitraryAxisCylinderSensor" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.x3d#ArbitraryAxisCylinderSensor" "../../../Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.wrl#ArbitraryAxisCylinderSensor" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.wrl#ArbitraryAxisCylinderSensor"
shifted axis of rotation from local vertical, default 1 0 0 0
local center for axis of rotation, default 0 0 0
whether to show visualization shape to show orientation and cylindrical mapping of mouse movements by sensor, default true
scale for visualization shape, default 1 1 1
color for visualization shape, default 0.9 0.9 0.4
children nodes affected by ArbitraryAxisCylinderSensor
determines whether previous offset values are remembered/accumulated, default true
Text tooltip displayed for user interaction
diskAngle 0 forces disk-like behavior, diskAngle 1.57 (90 degrees) forces cylinder-like behavior, default 0.262, range [0,pi/2]
enables/disables node operation, default true
clamps rotation_changed events, default 0, range [-2pi,2pi]
clamps rotation_changed events, default -1, range [-2pi,2pi]
sends event and remembers last value sensed, default 0, range (-infinity,infinity)
output event isActive=true when primary mouse button is pressed, output event isActive=false when released.
rotation_changed events equal sum of relative bearing changes plus offset value about Y-axis in local coordinate system
trackPoint_changed events give intersection point of bearing with sensor's virtual geometry
"Lightweight155mmHowitzerCrank.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Weapons/Guns/Lightweight155mmHowitzerCrank.wrl" "Lightweight155mmHowitzerCrank.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Weapons/Guns/Lightweight155mmHowitzerCrank.x3d"