aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientAPI.cs
diff options
context:
space:
mode:
authornlin2009-04-10 06:39:52 +0000
committernlin2009-04-10 06:39:52 +0000
commit8e6c20b27fdb95b9008614eb36678508407a4d19 (patch)
tree562e0363e5e551c8d3fee03736d319f9e8963c64 /OpenSim/Framework/IClientAPI.cs
parent* Updated BulletDotNET dll with the ContactFlags definition. (diff)
downloadopensim-SC_OLD-8e6c20b27fdb95b9008614eb36678508407a4d19.zip
opensim-SC_OLD-8e6c20b27fdb95b9008614eb36678508407a4d19.tar.gz
opensim-SC_OLD-8e6c20b27fdb95b9008614eb36678508407a4d19.tar.bz2
opensim-SC_OLD-8e6c20b27fdb95b9008614eb36678508407a4d19.tar.xz
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/Framework/IClientAPI.cs')
-rw-r--r--OpenSim/Framework/IClientAPI.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index 1fa5ae2..e0983e8 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -160,7 +160,7 @@ namespace OpenSim.Framework
160 ); 160 );
161 161
162 public delegate void SpinStart(UUID objectID, IClientAPI remoteClient); 162 public delegate void SpinStart(UUID objectID, IClientAPI remoteClient);
163 public delegate void SpinUpdate(UUID objectID, Quaternion rotation, IClientAPI remoteClient); 163 public delegate void SpinObject(UUID objectID, Quaternion rotation, IClientAPI remoteClient);
164 public delegate void SpinStop(UUID objectID, IClientAPI remoteClient); 164 public delegate void SpinStop(UUID objectID, IClientAPI remoteClient);
165 165
166 public delegate void ParcelAccessListRequest( 166 public delegate void ParcelAccessListRequest(
@@ -607,6 +607,9 @@ namespace OpenSim.Framework
607 event GrabObject OnGrabObject; 607 event GrabObject OnGrabObject;
608 event ObjectSelect OnDeGrabObject; 608 event ObjectSelect OnDeGrabObject;
609 event MoveObject OnGrabUpdate; 609 event MoveObject OnGrabUpdate;
610 event SpinStart OnSpinStart;
611 event SpinObject OnSpinUpdate;
612 event SpinStop OnSpinStop;
610 613
611 event UpdateShape OnUpdatePrimShape; 614 event UpdateShape OnUpdatePrimShape;
612 event ObjectExtraParams OnUpdateExtraParams; 615 event ObjectExtraParams OnUpdateExtraParams;