rusting_engine 2.4.1

Vulkan 3D game engine with GPU-accelerated physics for massive physics-heavy scenes
{
  "name": "wait: on seed 1, two waits let Enemy 1 step next to the still player and then strike",
  "ticks": 10,
  "seed": 1,
  "steps": [
    {
      "tick": 2,
      "set": {
        "entity": "Enemy 1",
        "path": "/transform/position",
        "value": [
          1.0,
          0.4,
          3.0
        ]
      }
    },
    {
      "tick": 2,
      "set": {
        "entity": "Enemy 2",
        "path": "/transform/position",
        "value": [
          9.0,
          0.4,
          7.0
        ]
      }
    },
    {
      "tick": 4,
      "tap": "wait"
    },
    {
      "tick": 5,
      "expect": {
        "entity": "Enemy 1",
        "path": "/transform/position/2",
        "equals": 2.0,
        "tolerance": 0.01
      }
    },
    {
      "tick": 5,
      "expect": {
        "entity": "Player",
        "path": "/transform/position/0",
        "equals": 1.0,
        "tolerance": 0.01
      }
    },
    {
      "tick": 5,
      "expect": {
        "entity": "Player",
        "path": "/transform/position/2",
        "equals": 1.0,
        "tolerance": 0.01
      }
    },
    {
      "tick": 5,
      "expect": {
        "counter": "wounds",
        "equals": 0
      }
    },
    {
      "tick": 6,
      "tap": "wait"
    },
    {
      "tick": 7,
      "expect": {
        "counter": "wounds",
        "equals": 1
      }
    },
    {
      "tick": 7,
      "expect": {
        "entity": "Enemy 1",
        "path": "/transform/position/2",
        "equals": 2.0,
        "tolerance": 0.01
      }
    },
    {
      "tick": 7,
      "expect": {
        "entity": "Player",
        "path": "/transform/position/2",
        "equals": 1.0,
        "tolerance": 0.01
      }
    }
  ]
}