mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
* Added some simstats to fill the simulator pane of the Statistics monitor.
* I stress, this is an initial implementation and the Agents(Child and Root) are definately obviously incorrect.
This commit is contained in:
@@ -139,8 +139,9 @@ namespace OpenSim.Region.Physics.PhysXPlugin
|
||||
{
|
||||
|
||||
}
|
||||
public override void Simulate(float timeStep)
|
||||
public override float Simulate(float timeStep)
|
||||
{
|
||||
float fps = 0f;
|
||||
try
|
||||
{
|
||||
foreach (PhysXCharacter actor in _characters)
|
||||
@@ -160,6 +161,7 @@ namespace OpenSim.Region.Physics.PhysXPlugin
|
||||
{
|
||||
Console.WriteLine(e.Message);
|
||||
}
|
||||
return fps;
|
||||
}
|
||||
|
||||
public override void GetResults()
|
||||
|
||||
Reference in New Issue
Block a user