diff options
author | Robert Adams | 2013-05-03 14:23:53 -0700 |
---|---|---|
committer | Robert Adams | 2013-05-03 14:23:53 -0700 |
commit | 5d25bb3084937d266375cba61b3a2c802bd57717 (patch) | |
tree | 73d291b1ed6b2368d1f23ca4d8e5f91f55885b0e /OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | |
parent | BulletSim: prims with no cuts created with single convex hull shape. (diff) | |
download | opensim-SC_OLD-5d25bb3084937d266375cba61b3a2c802bd57717.zip opensim-SC_OLD-5d25bb3084937d266375cba61b3a2c802bd57717.tar.gz opensim-SC_OLD-5d25bb3084937d266375cba61b3a2c802bd57717.tar.bz2 opensim-SC_OLD-5d25bb3084937d266375cba61b3a2c802bd57717.tar.xz |
BulletSim: zero vehicle motion when changing vehicle type.
Rebuild compound linkset of any child in the linkset changes shape.
Comments and better detailed logging messages.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs index 5236909..235da78 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | |||
@@ -182,6 +182,10 @@ public class BSPrimLinkable : BSPrimDisplaced | |||
182 | { | 182 | { |
183 | return false; | 183 | return false; |
184 | } | 184 | } |
185 | |||
186 | // TODO: handle collisions of other objects with with children of linkset. | ||
187 | // This is a problem for LinksetCompound since the children are packed into the root. | ||
188 | |||
185 | return base.Collide(collidingWith, collidee, contactPoint, contactNormal, pentrationDepth); | 189 | return base.Collide(collidingWith, collidee, contactPoint, contactNormal, pentrationDepth); |
186 | } | 190 | } |
187 | } | 191 | } |