aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRobert Adams2012-12-21 09:55:20 -0800
committerRobert Adams2012-12-21 09:55:20 -0800
commit750492796d3f19028ddd7fdf5f696933f083fd33 (patch)
treeb7ba3583b8b520a8c944f4bdbb3ead31be44f1ff
parentBulletSim: fix incorrectly defined property changed flag. (diff)
downloadopensim-SC_OLD-750492796d3f19028ddd7fdf5f696933f083fd33.zip
opensim-SC_OLD-750492796d3f19028ddd7fdf5f696933f083fd33.tar.gz
opensim-SC_OLD-750492796d3f19028ddd7fdf5f696933f083fd33.tar.bz2
opensim-SC_OLD-750492796d3f19028ddd7fdf5f696933f083fd33.tar.xz
BulletSim: begin movement of parameters from pinned memory block to variables all in managed code. Add note to TODO list to remember to do the rest. Other updates to TODO list.
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSScene.cs10
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BulletSimTODO.txt16
2 files changed, 19 insertions, 7 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
index 069cb0d..2ca4912 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
@@ -96,6 +96,16 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
96 public long SimulationStep { get { return m_simulationStep; } } 96 public long SimulationStep { get { return m_simulationStep; } }
97 private int m_taintsToProcessPerStep; 97 private int m_taintsToProcessPerStep;
98 98
99 // Avatar parameters
100 public float ParamAvatarFriction { get; private set; }
101 public float ParamAvatarStandingFriction { get; private set; }
102 public float ParamAvatarDensity { get; private set; }
103 public float ParamAvatarRestitution { get; private set; }
104 public float ParamAvatarCapsuleWidth { get; private set; }
105 public float ParamAvatarCapsuleDepth { get; private set; }
106 public float ParamAvatarCapsuleHeight { get; private set; }
107 public float ParamAvatarContactProcessingThreshold { get; private set; }
108
99 public delegate void PreStepAction(float timeStep); 109 public delegate void PreStepAction(float timeStep);
100 public event PreStepAction BeforeStep; 110 public event PreStepAction BeforeStep;
101 111
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BulletSimTODO.txt b/OpenSim/Region/Physics/BulletSPlugin/BulletSimTODO.txt
index 8a9aec9..c084ab4 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BulletSimTODO.txt
+++ b/OpenSim/Region/Physics/BulletSPlugin/BulletSimTODO.txt
@@ -1,16 +1,16 @@
1CURRENT PRIORITIES 1CURRENT PRIORITIES
2================================================= 2=================================================
3Eliminate all crashes (DONEish) 3Smooth avatar movement with motor
4 Editing/deleting physical linkset (DONE) 4 Should motor update be all at taint-time?
5 Border crossing of physical linkset (DONE)
6Enable vehicle border crossings (at least as poorly as ODE) 5Enable vehicle border crossings (at least as poorly as ODE)
6 Terrain skirts
7 Avatar created in previous region and not new region when crossing border 7 Avatar created in previous region and not new region when crossing border
8 Vehicle recreated in new sim at small Z value (offset from root value?) (DONE) 8 Vehicle recreated in new sim at small Z value (offset from root value?) (DONE)
9Calibrate turning radius (DONE) 9Vehicle movement on terrain smoothness
10Vehicle script tuning/debugging
11 Avanti speed script
12 Weapon shooter script
10limitMotorUp calibration (more down?) 13limitMotorUp calibration (more down?)
11study PID motors (include 'efficiency' implementation (DONE)
12 Add to avatar movement
13
14 14
15CRASHES 15CRASHES
16================================================= 16=================================================
@@ -139,6 +139,8 @@ Consider moving prim/character body and shape destruction in destroy()
139 to postTimeTime rather than protecting all the potential sets that 139 to postTimeTime rather than protecting all the potential sets that
140 might have been queued up. 140 might have been queued up.
141Remove unused fields from ShapeData (not used in API2) 141Remove unused fields from ShapeData (not used in API2)
142Remove unused fields from pinned memory shared parameter block
143 Create parameter variables in BSScene to replace same.
142Breakout code for mesh/hull/compound/native into separate BSShape* classes 144Breakout code for mesh/hull/compound/native into separate BSShape* classes
143 Standardize access to building and reference code. 145 Standardize access to building and reference code.
144 The skeleton classes are in the sources but are not complete or linked in. 146 The skeleton classes are in the sources but are not complete or linked in.