mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
BulletSim: fix small bug where everything looked like it was colliding
before the first simulator step.
This commit is contained in:
@@ -97,6 +97,9 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
|
||||
|
||||
internal long m_simulationStep = 0; // The current simulation step.
|
||||
public long SimulationStep { get { return m_simulationStep; } }
|
||||
// A number to use for SimulationStep that is probably not any step value
|
||||
// Used by the collision code (which remembers the step when a collision happens) to remember not any simulation step.
|
||||
public static long NotASimulationStep = -1234;
|
||||
|
||||
internal float LastTimeStep { get; private set; } // The simulation time from the last invocation of Simulate()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user