limit rotation around Y axis

Anonymous 9 years ago 0
This discussion was imported from CodePlex

mat72220 wrote at 2012-09-14 16:50:


Excuse me for my english it's not my mother tongue.

I'm trying to made an application like this (http://carvisualizer.plus360degrees.com/away3d/)

How can I limit the rotation around the Y axis (40° for example) ?


Here my Code


        <helix:HelixViewport3D x:Name="view1" RotationSensitivity="1.5"  CameraMode="Inspect" CameraRotationMode="Trackball" IsHeadLightEnabled="True" IsPanEnabled="False" IsTouchZoomEnabled="False" IsZoomEnabled="False">

            <helix:RotateManipulator Color="Green" Axis="0,0,1" Transform="{Binding Transform, ElementName=modele3d}" TargetTransform="{Binding Transform, ElementName=modele3d}" Diameter="2"/>
            <ModelVisual3D  x:Name="modele3d"/>            



davidop wrote at 2013-05-28 16:07:

Did you manage that? Thanks

objo wrote at 2013-06-07 11:58:

This should be covered by issue