diff options
author | Teravus Ovares | 2008-05-06 00:23:19 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-05-06 00:23:19 +0000 |
commit | 240e8646dac402068930065c1fb792e647f1ce4b (patch) | |
tree | 10064eea011ac7155c947b11a64bcc650feb6dbb /OpenSim/Region/Environment/Scenes/ScenePresence.cs | |
parent | * Refactor: Break out permissions code into a separate region PermissionsModule (diff) | |
download | opensim-SC_OLD-240e8646dac402068930065c1fb792e647f1ce4b.zip opensim-SC_OLD-240e8646dac402068930065c1fb792e647f1ce4b.tar.gz opensim-SC_OLD-240e8646dac402068930065c1fb792e647f1ce4b.tar.bz2 opensim-SC_OLD-240e8646dac402068930065c1fb792e647f1ce4b.tar.xz |
* If you llApplyImpulse on an attachment, it applies impulse on the avatar, not the attachment.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index fcd93d8..aefecd0 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -2389,5 +2389,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
2389 | 2389 | ||
2390 | info.AddValue("m_knownPrimUUID", knownPrimUUID_work); | 2390 | info.AddValue("m_knownPrimUUID", knownPrimUUID_work); |
2391 | } | 2391 | } |
2392 | |||
2393 | internal void PushForce(PhysicsVector impulse) | ||
2394 | { | ||
2395 | if (PhysicsActor != null) | ||
2396 | { | ||
2397 | PhysicsActor.AddForce(impulse,true); | ||
2398 | } | ||
2399 | } | ||
2392 | } | 2400 | } |
2393 | } | 2401 | } |