diff options
author | Robert Adams | 2012-12-14 17:03:59 -0800 |
---|---|---|
committer | Robert Adams | 2012-12-16 21:19:10 -0800 |
commit | ace1f1e9314d2e5b3cf45426225ca485649bbf96 (patch) | |
tree | 2ea8eb8066ba2d306f24850fd7d13dbfb1e25ae8 /OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs | |
parent | Make WebStatsModule properly handle scenes added or removed after initial sta... (diff) | |
download | opensim-SC-ace1f1e9314d2e5b3cf45426225ca485649bbf96.zip opensim-SC-ace1f1e9314d2e5b3cf45426225ca485649bbf96.tar.gz opensim-SC-ace1f1e9314d2e5b3cf45426225ca485649bbf96.tar.bz2 opensim-SC-ace1f1e9314d2e5b3cf45426225ca485649bbf96.tar.xz |
BulletSim: rip out old code for linkset child position fetching. BulletSim doesn't need to do that bookkeeping because SOG/SOP already does it.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs index 732c084..7076ab4 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs | |||
@@ -83,18 +83,6 @@ public sealed class BSLinksetConstraints : BSLinkset | |||
83 | // Nothing to do for constraints on property updates | 83 | // Nothing to do for constraints on property updates |
84 | } | 84 | } |
85 | 85 | ||
86 | // The children of the linkset are moved around by the constraints. | ||
87 | // Just grab the current values of wherever it is right now. | ||
88 | public override OMV.Vector3 Position(BSPhysObject member) | ||
89 | { | ||
90 | return BulletSimAPI.GetPosition2(member.PhysBody.ptr); | ||
91 | } | ||
92 | |||
93 | public override OMV.Quaternion Orientation(BSPhysObject member) | ||
94 | { | ||
95 | return BulletSimAPI.GetOrientation2(member.PhysBody.ptr); | ||
96 | } | ||
97 | |||
98 | // Routine called when rebuilding the body of some member of the linkset. | 86 | // Routine called when rebuilding the body of some member of the linkset. |
99 | // Destroy all the constraints have have been made to root and set | 87 | // Destroy all the constraints have have been made to root and set |
100 | // up to rebuild the constraints before the next simulation step. | 88 | // up to rebuild the constraints before the next simulation step. |