Fractal Softworks Forum
Starsector => Bug Reports & Support => Bug Reports & Support (modded) => Topic started by: Clockwork Owl on May 29, 2017, 05:24:35 AM
-
both noStrafing = TRUE on ship_systems.csv and ShipAPI.setControlsLocked(true); via script does not prevent a bomber from strafing near its target.
-
Yeah, pretty much a consequence of how fighters work. If you really need to lock their controls, you'd have to set their facing and velocity directly.
-
...How do I set the velocity, though?
-
ship.getVelocity().set(x, y) should do it.
-
It immediately ejects them to oblivion. :D
EDIT: Nevermind, I was doing it wrong XD Fixed. But the fighters are still strafing out of course.