| 50 | } |
| 51 | |
| 52 | void TestEntityController::Tick(float scale) { |
| 53 | |
| 54 | //delete entities below y=-30 |
| 55 | if (transform()->GetWorldPosition().y < -30) { |
| 56 | Destroy(); |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | void TestEntityController::OnColliderEnter(const WeakRef<PhysicsBodyComponent>& other) |
| 61 | { |
nothing calls this directly
no test coverage detected