Anuken / Mindustry

The automation tower defense RTS
https://mindustrygame.github.io
GNU General Public License v3.0
22.69k stars 2.98k forks source link

direction reversal using frags #10303

Closed Angel0doom closed 1 week ago

Angel0doom commented 1 week ago

Platforms

Android

Build

146 and most likely all others

Issue

when using drag on a reverse firing bullet then fragging of that bullet in the opposite direction with minimal speed and a negative drag and possibly more situations sometimes it goes the complete opposite direction. and this chance seems to scale with how low the fps

Steps to reproduce

weapons: [ { reload: 100 shootCone: 360 mirror: true x: 14 y: 9 bullet: { keepVelocity: false drag: 0.09 lifetime: 60 speed: -8.3 width: 8 height: 8 pierce: true pierceBuilding: true fragBullets: 1 fragRandomSpread: 0 fragVelocityMin: 1 fragVelocityMax: 1 despawnEffect: none hitEffect: none fragAngle: 180 fragBullet: { height: 8 width: 8 keepVelocity: false speed: 0.1 drag: -0.09 lifetime: 130 } } } ]

use any weapon like this and mess with the max FPS while shooting, pretty simple

Mods used

No response

Save file

No response

(Crash) logs

No response

Submission

Anuken commented 1 week ago

Negative speed is not supported.