Read by Council Turret Improvements

    Joined
    Jun 12, 2015
    Messages
    228
    Reaction score
    72
    Currently the movement of a turret is controlled by collision detection, Which is a very finnicky system, Turrets frequently get stuck on themselves if they are built tightly. A new system would be to calculate the angles and directions that the turret can move and restrict them to that but disable collision detection among components.
     
    • Like
    Reactions: JNC

    jayman38

    Precentor-Primus, pro-tempore
    Joined
    Jul 13, 2014
    Messages
    2,518
    Reaction score
    787
    • Purchased!
    • Thinking Positive
    • Legacy Citizen 4
    Pre-calculating turret rotation strikes me as an oversimplification, when one takes into account moving subsystems like other turrets, turret elevators, turret doors, regular doors, and so on. So a turret might be able to turn without restriction in 360 degrees around its pivot if a neighboring turret is facing the same direction at the same time. However, they might point in opposite directions and Clang.

    However, this could be a valuable consideration if the game can test all extensions of all entities and finds that a given turret "stands alone". In which case, the collision detection can be safely deactivated unless the server is set to enable breakaway, which would again require detailed collision detection.