Skip to content

Commit

Permalink
plugin update
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJerez committed Oct 27, 2024
1 parent cd4b4a5 commit de02e52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class ndWorld: public ndClassAlloc

private:
void ThreadFunction();
void DeleteDeferredObjects();

protected:
D_NEWTON_API virtual void UpdateSkeletons();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,8 @@ bool FnewtonModule::Tick(float timestep)
if (newtonWorld)
{
char tmp[256];
float simTime = newtonWorld->GetSimTime() * 1.0e3f;
snprintf(tmp, sizeof(tmp), "timestep:%f(ms) physicsTime:%f(ms)", timestep * 1.0e3f, simTime);
float simTime = newtonWorld->GetSimTime();
snprintf(tmp, sizeof(tmp), "timestep:%f(ms) physicsTime:%f(ms)", timestep * 1.0e3f, simTime * 1.0e3f);

FString msg(tmp);
GEngine->AddOnScreenDebugMessage(INDEX_NONE, 0.0f, FColor::Yellow, msg);
Expand Down

0 comments on commit de02e52

Please sign in to comment.