diff options
author | Robert Adams | 2012-12-18 19:19:58 -0800 |
---|---|---|
committer | Robert Adams | 2012-12-18 19:25:51 -0800 |
commit | cf89e29ac315cbac74361b8fd85e0fdbf6157f09 (patch) | |
tree | 5798ddadd9caac79814037b280d665303c0baf05 /OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | |
parent | Replace axis rotation numeric constants (STATUS_ROTATE_XYZ) with symbols. Als... (diff) | |
download | opensim-SC_OLD-cf89e29ac315cbac74361b8fd85e0fdbf6157f09.zip opensim-SC_OLD-cf89e29ac315cbac74361b8fd85e0fdbf6157f09.tar.gz opensim-SC_OLD-cf89e29ac315cbac74361b8fd85e0fdbf6157f09.tar.bz2 opensim-SC_OLD-cf89e29ac315cbac74361b8fd85e0fdbf6157f09.tar.xz |
BulletSim: comments and TODO list update
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs index 758d92b..1c6f946 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | |||
@@ -100,10 +100,15 @@ public sealed class BSPrim : BSPhysObject | |||
100 | BaseShape = pbs; | 100 | BaseShape = pbs; |
101 | _isPhysical = pisPhysical; | 101 | _isPhysical = pisPhysical; |
102 | _isVolumeDetect = false; | 102 | _isVolumeDetect = false; |
103 | _friction = PhysicsScene.Params.defaultFriction; // TODO: compute based on object material | 103 | |
104 | _density = PhysicsScene.Params.defaultDensity; // TODO: compute based on object material | 104 | // Someday set default attributes based on the material but, for now, we don't know the prim material yet. |
105 | // MaterialAttributes primMat = BSMaterials.GetAttributes(Material, pisPhysical); | ||
106 | _density = PhysicsScene.Params.defaultDensity; | ||
107 | _friction = PhysicsScene.Params.defaultFriction; | ||
105 | _restitution = PhysicsScene.Params.defaultRestitution; | 108 | _restitution = PhysicsScene.Params.defaultRestitution; |
109 | |||
106 | _vehicle = new BSDynamics(PhysicsScene, this); // add vehicleness | 110 | _vehicle = new BSDynamics(PhysicsScene, this); // add vehicleness |
111 | |||
107 | _mass = CalculateMass(); | 112 | _mass = CalculateMass(); |
108 | 113 | ||
109 | // No body or shape yet | 114 | // No body or shape yet |