πŸ’₯

Collisions

The physics and collisions in this project are built from the ground up to ensure they work correctly across the network on many different CPU architectures. If you want to use Unity’s collision stuff from code (check for overlaps from a point in code you control) you can, but I would not advise working with OnCollisionEnter or OnTriggerEnter for example as those are called at times you may not expect them to especially with the netcode rollback/reconciliation on clients.

The collision stuff in here also includes how to check if entities are trying to damage each other.