TCTC-TurretsPhysicsPatch icon

TurretsPhysicsPatch

Changes the bullet physics related to motion. More specificaly changes drag to be quadratic and forces a fixed update rate for consistancy between players and shots.

Last updated a year ago
Total downloads 3239
Total rating 0 
Categories Patch
Dependency string TCTC-TurretsPhysicsPatch-0.0.5
Dependants 2 other packages depend on this package

This mod requires the following mods to function

willis81808-MMHook-1.0.0 icon
willis81808-MMHook

MonoMod Runtime Hooks generated for ROUNDS

Preferred version: 1.0.0
BepInEx-BepInExPack_ROUNDS-5.4.1900 icon
BepInEx-BepInExPack_ROUNDS

BepInEx pack for ROUNDS. Preconfigured and ready to use.

Preferred version: 5.4.1900
willis81808-UnboundLib-3.1.4 icon
willis81808-UnboundLib

This is a helpful utility for ROUNDS modders aimed at simplifying common tasks.

Preferred version: 3.1.4
Pykess-ModdingUtils-0.3.5 icon
Pykess-ModdingUtils

Utilities aimed at making modding easier and more accessible

Preferred version: 0.3.5

README

Turret's Physics Patch

This patch changes the update method in MoveTransform to a more accurate equation of motion, and changes the drag to be quadratic instead of constant. Also locks the rate at which the bullets update their position at 70 hz.

If you notice any issues, please post in the rounds modding discord. I will look at the bug reports channel from time to time.

changes

EOM: at^2 + v0t + s0 --> 0.5at^2 + v0t + s0 Drag: a = D --> a = DV^2 / 100 Update rate: per frame --> 70 hz