aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs
diff options
context:
space:
mode:
authorMelanie2012-12-18 09:44:10 +0000
committerMelanie2012-12-18 09:44:10 +0000
commitb9939a46a19af74f79a492e3b9fb3f65d0de31cd (patch)
treeb20ee4582458689096ff58770397c766c4ac36a8 /OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs
parentMerge branch 'master' into careminster (diff)
parentBulletSim: fix vehicles being shot in the air at border crossings because of ... (diff)
downloadopensim-SC-b9939a46a19af74f79a492e3b9fb3f65d0de31cd.zip
opensim-SC-b9939a46a19af74f79a492e3b9fb3f65d0de31cd.tar.gz
opensim-SC-b9939a46a19af74f79a492e3b9fb3f65d0de31cd.tar.bz2
opensim-SC-b9939a46a19af74f79a492e3b9fb3f65d0de31cd.tar.xz
Merge branch 'master' into careminster
Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs14
1 files changed, 1 insertions, 13 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs
index 732c084..8c36c31 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs
@@ -78,23 +78,11 @@ public sealed class BSLinksetConstraints : BSLinkset
78 } 78 }
79 79
80 // Called at taint-time!! 80 // Called at taint-time!!
81 public override void UpdateProperties(BSPhysObject updated) 81 public override void UpdateProperties(BSPhysObject updated, bool inTaintTime)
82 { 82 {
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.