diff options
author | Justin Clark-Casey (justincc) | 2013-01-24 00:24:13 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-01-24 00:24:13 +0000 |
commit | 957cea59a02e8fd57a2de9ec14bdd1cc07091e01 (patch) | |
tree | dc8a1f8acde21375e3adf551ea8e2b7ccf51685c /OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | |
parent | Fix mono 2.4.3 build break by using CreateInstanceAndUnwrap 9 method call dep... (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-957cea59a02e8fd57a2de9ec14bdd1cc07091e01.zip opensim-SC-957cea59a02e8fd57a2de9ec14bdd1cc07091e01.tar.gz opensim-SC-957cea59a02e8fd57a2de9ec14bdd1cc07091e01.tar.bz2 opensim-SC-957cea59a02e8fd57a2de9ec14bdd1cc07091e01.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs index 34fd2a0..35dba9b 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | |||
@@ -557,8 +557,9 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters | |||
557 | uint cB = m_collisionArray[ii].bID; | 557 | uint cB = m_collisionArray[ii].bID; |
558 | Vector3 point = m_collisionArray[ii].point; | 558 | Vector3 point = m_collisionArray[ii].point; |
559 | Vector3 normal = m_collisionArray[ii].normal; | 559 | Vector3 normal = m_collisionArray[ii].normal; |
560 | SendCollision(cA, cB, point, normal, 0.01f); | 560 | float penetration = m_collisionArray[ii].penetration; |
561 | SendCollision(cB, cA, point, -normal, 0.01f); | 561 | SendCollision(cA, cB, point, normal, penetration); |
562 | SendCollision(cB, cA, point, -normal, penetration); | ||
562 | } | 563 | } |
563 | } | 564 | } |
564 | 565 | ||