Démolir

Comment réparer la tique liée au démontage du FPS() Problèmes lors de la transition vers la mise à jour()

Correction de problèmes avec la physique lors du passage du tick à la mise à jour.

The Issue

Salut. So I was just making a mod and was putting constrain functions in tick (it breaks your physics based on FPS DONT BE DUMB LIKE ME)

Alors, I figured I’d write a small guide to easily fix this issue with a single variable

If you check the teardown modding api it states that update does 60 refreshes in a second (similar to fps)

So all you need to do is take what the fps was during your testing (same map same code etc etc)

and then convert it to update by doing this

fixRatio = PreviousFPS/60

Ce guide sur Démolir a été écrit par KevysNotHeavy. Vous pouvez visiter la publication originale à partir de ce lien. Si vous avez des inquiétudes concernant ce guide, n'hésitez pas à nous joindre ici.

A propos de l'auteur