I use the “Set Global Time Dilation” function to speed up the game, but if I increase the speed above x2, such as x4, my vehicle still uses physics as x2. Although the rest of the world works at the specified speed.
At first I thought that the “AddForce” function is not working properly, so I tried throw the transport from altitude. The result is that no matter what speed I set, the transport will fall at x2 speed from the base speed.
The issue you are experiencing is likely due to the limitations of physics simulation in the game engine. When you increase the global time dilation beyond a certain point, the physics simulation may not be able to keep up, resulting in inaccuracies and glitches.
To address this issue, you can try adjusting the physics settings in your game engine to improve the accuracy and stability of the simulation at higher time dilation values. For example, you can try increasing the physics sub-stepping or reducing the physics time step size to improve the accuracy of the physics simulation at higher speeds.
Another option is to use a different approach to simulate vehicle movement that does not rely solely on physics simulation. For example, you can use a custom movement system that applies forces and rotations directly to the vehicle instead of relying on physics simulation. This approach can provide better control and accuracy over vehicle movement, especially at high speeds.
In any case, it is important to keep in mind that increasing the game speed beyond a certain point can have unintended consequences and may require additional optimizations and adjustments to ensure the stability and accuracy of the game simulation.
The issue you are experiencing is likely due to the fact that the physics engine in your game is not designed to handle time dilation beyond a certain point. While you can speed up the game world using the Set Global Time Dilation function, the physics engine may not be able to keep up with the increased speed.
To fix this, you may need to adjust the physics settings in your game or find a physics engine that is designed to handle higher time dilations. Alternatively, you could try slowing down other aspects of the game, such as animations or AI behavior, to bring the overall speed of the game back down to a manageable level.
Another solution could be to create a custom physics system that works in tandem with the Set Global Time Dilation function. This could involve creating a separate physics engine that is designed to handle higher speeds or modifying the existing physics engine to handle higher time dilations. However, this is a more advanced solution that may require significant programming expertise.