<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div><span style="font-family: Verdana; font-size: 12px; line-height: normal;">but there are some specific rotation modes in x3dom.js but not axis locking?</span>
<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Samstag, 04. Mai 2013 um 21:52 Uhr<br/>
<b>Von:</b> "Michalis Kamburelis" <michalis.kambi@gmail.com><br/>
<b>An:</b> "Martin Huwa" <martin.huwa@gmx.de><br/>
<b>Cc:</b> x3d-public <x3d-public@web3d.org><br/>
<b>Betreff:</b> Re: Aw: Re: [X3D-Public] Tabletop / Achsen nur drehen</div>

<div name="quoted-content">Martin Huwa wrote:<br/>
> but there are some specific rotation modes in x3dom.js but not axis locking?<br/>
><br/>
<br/>
(Remember to do "reply all" to reply also to the x3d-public mailing list. :)<br/>
<br/>
X3DOM is something more specific than just X3D. It seems (reading<br/>
<a href="http://x3dom.org/docs/dev/nodes/index.html" target="_blank">http://x3dom.org/docs/dev/nodes/index.html</a> ) that indeed X3DOM doesn't<br/>
support CylinderSensor. Anyway, you can use Transform node to do<br/>
rotations, and I guess it's up to your scripts to keep the particular<br/>
rotation axis locked. "Transform.rotation" field is just 4 floating<br/>
point values: axis + angle, so just keep the axis constant and you're<br/>
good :)<br/>
<br/>
If this doesn't help, I think we may need more information about what<br/>
you're trying to do.<br/>
<br/>
I'm also not an expert on X3DOM, so I'll leave others to eventually<br/>
clarify CylinderSensor support X3DDOM.<br/>
<br/>
Regards,<br/>
Michalis</div>
</div>
</div>
</div></div></body></html>