diff options
author | Sean Dague | 2008-05-06 22:17:00 +0000 |
---|---|---|
committer | Sean Dague | 2008-05-06 22:17:00 +0000 |
commit | 0b09966c7ef63a6f01c799c13963c91b50140453 (patch) | |
tree | 06ced62c58d506e0d85f8d4b84d2878b2d714011 /OpenSim/Region/ClientStack/LindenUDP | |
parent | Restored svn:keywords to prebuild.xml. (diff) | |
download | opensim-SC-0b09966c7ef63a6f01c799c13963c91b50140453.zip opensim-SC-0b09966c7ef63a6f01c799c13963c91b50140453.tar.gz opensim-SC-0b09966c7ef63a6f01c799c13963c91b50140453.tar.bz2 opensim-SC-0b09966c7ef63a6f01c799c13963c91b50140453.tar.xz |
send actual velocity and angular velocity in terse updates
instead of hardcoding to zero when the primitive is non physical.
llTargetOmega should work now.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 85992b2..f5d4ad3 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -2131,10 +2131,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2131 | /// <param name="position"></param> | 2131 | /// <param name="position"></param> |
2132 | /// <param name="rotation"></param> | 2132 | /// <param name="rotation"></param> |
2133 | public void SendPrimTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, LLVector3 position, | 2133 | public void SendPrimTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, LLVector3 position, |
2134 | LLQuaternion rotation, byte state, LLUUID AssetId) | 2134 | LLQuaternion rotation, LLVector3 velocity, LLVector3 rotationalvelocity, byte state, LLUUID AssetId) |
2135 | { | 2135 | { |
2136 | LLVector3 velocity = new LLVector3(0f, 0f, 0f); | ||
2137 | LLVector3 rotationalvelocity = new LLVector3(0f, 0f, 0f); | ||
2138 | ImprovedTerseObjectUpdatePacket terse = (ImprovedTerseObjectUpdatePacket)PacketPool.Instance.GetPacket(PacketType.ImprovedTerseObjectUpdate); | 2136 | ImprovedTerseObjectUpdatePacket terse = (ImprovedTerseObjectUpdatePacket)PacketPool.Instance.GetPacket(PacketType.ImprovedTerseObjectUpdate); |
2139 | // TODO: don't create new blocks if recycling an old packet | 2137 | // TODO: don't create new blocks if recycling an old packet |
2140 | terse.RegionData.RegionHandle = regionHandle; | 2138 | terse.RegionData.RegionHandle = regionHandle; |