diff options
author | nlin | 2009-04-10 06:39:52 +0000 |
---|---|---|
committer | nlin | 2009-04-10 06:39:52 +0000 |
commit | 8e6c20b27fdb95b9008614eb36678508407a4d19 (patch) | |
tree | 562e0363e5e551c8d3fee03736d319f9e8963c64 /OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |
parent | * Updated BulletDotNET dll with the ContactFlags definition. (diff) | |
download | opensim-SC-8e6c20b27fdb95b9008614eb36678508407a4d19.zip opensim-SC-8e6c20b27fdb95b9008614eb36678508407a4d19.tar.gz opensim-SC-8e6c20b27fdb95b9008614eb36678508407a4d19.tar.bz2 opensim-SC-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/Region/OptionalModules/World/NPC/NPCAvatar.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index 644f429..edd6b67 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -202,6 +202,9 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
202 | public event GrabObject OnGrabObject; | 202 | public event GrabObject OnGrabObject; |
203 | public event ObjectSelect OnDeGrabObject; | 203 | public event ObjectSelect OnDeGrabObject; |
204 | public event MoveObject OnGrabUpdate; | 204 | public event MoveObject OnGrabUpdate; |
205 | public event SpinStart OnSpinStart; | ||
206 | public event SpinObject OnSpinUpdate; | ||
207 | public event SpinStop OnSpinStop; | ||
205 | public event ViewerEffectEventHandler OnViewerEffect; | 208 | public event ViewerEffectEventHandler OnViewerEffect; |
206 | 209 | ||
207 | public event FetchInventory OnAgentDataUpdateRequest; | 210 | public event FetchInventory OnAgentDataUpdateRequest; |