diff options
Handle ObjectSpin* packets to spin physical prims on Ctrl+Shift+Drag
Addresses Mantis #3381
The current implementation works as expected if the object has no rotation or
only rotation around the Z axis; you can spin the object left or right (around
the world Z axis).
It works a little unexpectedly if the object has a non-Z-axis rotation; in this
case the body is spun about its local Z axis, not the world Z-axis. (But SL
also behaves oddly with a spin on an arbitrarily rotated object.)
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index 90ed9ae..26839f3 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | |||
@@ -96,6 +96,9 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
96 | public event GrabObject OnGrabObject; | 96 | public event GrabObject OnGrabObject; |
97 | public event ObjectSelect OnDeGrabObject; | 97 | public event ObjectSelect OnDeGrabObject; |
98 | public event MoveObject OnGrabUpdate; | 98 | public event MoveObject OnGrabUpdate; |
99 | public event SpinStart OnSpinStart; | ||
100 | public event SpinObject OnSpinUpdate; | ||
101 | public event SpinStop OnSpinStop; | ||
99 | public event ViewerEffectEventHandler OnViewerEffect; | 102 | public event ViewerEffectEventHandler OnViewerEffect; |
100 | 103 | ||
101 | public event FetchInventory OnAgentDataUpdateRequest; | 104 | public event FetchInventory OnAgentDataUpdateRequest; |