* AlignWithClosestGridTile extension for EntityCoordinates
- Fixes component exception when adding a timer component to a deleted entity.
* Address review
* actually...
* Fix map deserialized entities not being included in OccluderSystem
* Revert "Fix map deserialized entities not being included in OccluderSystem"
This reverts commit 0af8b50231.
* Make it do it in occluder startup instead
* Added struct skeleton for EntityCoordinates.
* Polish EntityCoordinates, add tests, add EntityCoordinates to Transforms
* Doc cleanup
* Remove useless code
* Return offset 0 when you don't have a parent
* Test for making sure EntityCoordinates for entities without parents have offset 0
* Use parent transform's GridId for GetGridId.
* Adds various methods, checks and tests
* Replace GridCoordinates with EntityCoordinates
* EyeManager.WorldToScreen fix
* Address reviews
* Fix za buildo
* Fix one transform test
* Fix the remaining tests
* Remove duplicate
* Remove another merge duplicate
* Fix property
* Rename most usages of GridCoordinates to EntityCoordinates.
* Add WithEntityId method to EntityCoordinates.
* Fix EntityCoordinates usage in GetEntitiesInRange
* Remove cursed IMapGrid method, change naming.
* Makes GridTileLookupSystem use EntityCoordinates
Co-authored-by: Acruid <shatter66@gmail.com>
Co-authored-by: Víctor Aguilera Puerto <zddm@outlook.es>
* Added struct skeleton for EntityCoordinates.
* Polish EntityCoordinates, add tests, add EntityCoordinates to Transforms
* Doc cleanup
* Remove useless code
* Return offset 0 when you don't have a parent
* Test for making sure EntityCoordinates for entities without parents have offset 0
* Use parent transform's GridId for GetGridId.
* Adds various methods, checks and tests
* Adds new constructor to EntityCoordinates and add WithPosition method
Co-authored-by: Acruid <shatter66@gmail.com>
BodyType is now serializable, fixes bug with VV.
Moved both velocity properties from ICollidableComponent to IPhysBody, added default methods to IPhysBody to get the word transform.
Added DebugTools.Break() method, calling it breaks execution in the attacked debugger.
Added VV attributes to various CollidableComponent properties.
Bodies without velocity are considered for collision, lockers are fixed.
Added force/torque integration to physics bodies.
Friction is now tickrate agnostic.
* Replace single controller with a dictionary
* Actually initialize the controller dictionary
* Fix not upgrading old physics controllers
* Return controller when adding it in CollidableComponent
* Make GetOrCreate name consistent
* Add updating linear velocity depending on controllers
* Address reviews
* Update Robust.Shared/Physics/VirtualController.cs
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
* Add missing physics component methods
* Make method names consistent with the rest of the project
* Add documentation to controller manipulation methods
* Add another method for controller manipulation
* Add SetController method
* Add stop method
* Add stop method to controllers
* Add bool return type to controller stopping and GetControllers method
* Fix physics stop return type not being bool
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>