BulletSim: most of the plumbing for raycast. Needs new BulletSim.dll to

work.
This commit is contained in:
Robert Adams
2017-09-02 13:06:36 -07:00
parent 22c7450363
commit 0afa3a294a
8 changed files with 252 additions and 0 deletions

View File

@@ -230,6 +230,8 @@ public static class BSParam
public static float LinkConstraintCFM { get; private set; }
public static float LinkConstraintSolverIterations { get; private set; }
public static bool UseBulletRaycast { get; private set; }
public static float PID_D { get; private set; } // derivative
public static float PID_P { get; private set; } // proportional
@@ -823,6 +825,9 @@ public static class BSParam
new ParameterDefn<float>("LinkConstraintSolverIterations", "Number of solver iterations when computing constraint. (0 = Bullet default)",
40 ),
new ParameterDefn<bool>("UseBulletRaycast", "If 'true', use the raycast function of the Bullet physics engine",
true ),
new ParameterDefn<float>("DebugNumber", "A console setable number sometimes used for debugging",
1.0f ),