Entity processing order

Hey all, im trying to figure out in what order bolt handles entities.
So when you have a bunch of player entities that all use an executecommand method for processing input, in what order are the executecommand's processed?
Is it determined by the order in which they are instantiated?
Reason I ask is because for my game I need to be certain collision always happens in the exact same order.

~ Jdev

Comments

  • First I would check to make sure you are only using executecommand on players, the only time you should be processing executecommands across multiple entities is on the server. I don't recall if they're called in instantiation order.
    This is the extent of determinism you can expect in Bolt: https://doc.photonengine.com/en-us/bolt/current/in-depth/update-loop
  • I see, I suppose bolt is not going to work for me then.
    I need the server logic to be fully deterministic so I could replay a game with just player input.
    But if bolt doesn't guarantee determinism I should probably look for a different solution.
    Thanks for the reply.
  • Bolt could work if you use it for just syncing inputs.
    Alternatively Quantum would work. https://www.photonengine.com/en-US/Quantum