diff options
author | Mic Bowman | 2012-01-13 14:48:56 -0800 |
---|---|---|
committer | Mic Bowman | 2012-01-13 14:48:56 -0800 |
commit | e1a2c44ebe8f10cf00a14578e44b000ff16b68df (patch) | |
tree | 00d0dd19ce7a3f4f67d8625868c594777132de27 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Fix llRotLookAt and llLookAt for non-physical objects. Per conversation (diff) | |
download | opensim-SC_OLD-e1a2c44ebe8f10cf00a14578e44b000ff16b68df.zip opensim-SC_OLD-e1a2c44ebe8f10cf00a14578e44b000ff16b68df.tar.gz opensim-SC_OLD-e1a2c44ebe8f10cf00a14578e44b000ff16b68df.tar.bz2 opensim-SC_OLD-e1a2c44ebe8f10cf00a14578e44b000ff16b68df.tar.xz |
Cleaned up the LookAt code in SOP and SOG. Added support for incrementally
rotating physical objects. This does not use physics. Currently the rate
of change is determined as 1 / (PI * Strength).
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 8860764..cad09b8 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1613,12 +1613,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1613 | RootPart.PhysActor.PIDActive = false; | 1613 | RootPart.PhysActor.PIDActive = false; |
1614 | } | 1614 | } |
1615 | 1615 | ||
1616 | public void stopLookAt() | ||
1617 | { | ||
1618 | if (RootPart.PhysActor != null) | ||
1619 | RootPart.PhysActor.APIDActive = false; | ||
1620 | } | ||
1621 | |||
1622 | /// <summary> | 1616 | /// <summary> |
1623 | /// Uses a PID to attempt to clamp the object on the Z axis at the given height over tau seconds. | 1617 | /// Uses a PID to attempt to clamp the object on the Z axis at the given height over tau seconds. |
1624 | /// </summary> | 1618 | /// </summary> |