Friday, March 29, 2024
HomeSample Page

Sample Page Title


Hi,

We are utilizing DistanceJoint2D to simulate a easy pendulum. We have noticed that each time the body price falls beneath a sure level on some gadgets, we’ve observed that the physics simulations decelerate considerably.

To make certain, we carried out an experiment by setting the fixedTimeStep and the sport frameRate. We have noticed that the physics simulation slows down when the body price falls beneath (1/fixedTimeStep).
For instance if the body price is 29.99 fps and the physics fixedTimeStep is 1/30, then it really works nice so long as the fps stays above 15 fps. But, if fixedTimeStep is ready to 1/60, then the velocity of physics simulation drops to nearly half and if we additional lower the mounted time step to 1/120, the velocity lower to the quarter whereas the body price stays at roughly 30. This behaviour can’t be blamed on the computing energy of the machine as a result of it really works nice when fixedTimeStep is ready to 1/120 and body price is ready to 144.

How can we stabilise the physics behaviour with a view to get the identical outcomes regardless of the body price? Am I lacking one thing?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments