I just want to mention something about the GetPhysicsTime function.
You can retrieve different timereports in Tokamak and currently I have set it to RUNNING_AVERAGE.
This means that the timevalue you get is not the computiontime for the last frame but instead an average.
I will let the user choose different timereports in future releases.
You will also be able to choose what part of the physics to be measured. Currently it sums all calculations together but you can choose to only get the compution time for jointsolving, bodies, collisions and so on.
You can retrieve different timereports in Tokamak and currently I have set it to RUNNING_AVERAGE.
This means that the timevalue you get is not the computiontime for the last frame but instead an average.
I will let the user choose different timereports in future releases.
You will also be able to choose what part of the physics to be measured. Currently it sums all calculations together but you can choose to only get the compution time for jointsolving, bodies, collisions and so on.