mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 10:37:05 +02:00
* Adds a new IPhysicsShape object where you can define what collisions shape a PhysBody has. AABB is now accessed through the PhysicsShape, so the BoundingBoxComponent is not required. * Default PhysShape now copies the AABB of the BoundingBoxComponent. * Fixed issue with serialization of PhysShapeAabbComp. * Spatial queries now use ICollidableComponent instead of BoundingBoxComponent. showbb now draws entities using the obsolete BoundingBoxComponent in Aqua. * Renamed PhysShapeAabbComp to PhysShapeAabb. Removed BoundingBoxComponent. * Default CollidableComponent does not collide with anything now. * Renamed ICollidable to IPhysBody. Moved ICollidable to the Robust.Shared/Physics namespace. * PhysShapes are now a collection of primitive shapes that contribute to the whole PhysBody. ObjectSerializer.DataField can now deal with abstract types using YAML tags. * Added LocalBounds property to ClickableComponent. Added state to ClickableComponent. * Added a Rectangle physics shape. * ClickableComponent now actually checks that a click is inside its bounds. * Reverted the addition of a try/catch around map loading. Any errors can propagate to the code trying to load the map again.
17 lines
510 B
C#
17 lines
510 B
C#
namespace Robust.Shared.GameObjects
|
|
{
|
|
public static class NetIDs
|
|
{
|
|
public const uint META_DATA = 4;
|
|
public const uint TRANSFORM = 5;
|
|
public const uint PHYSICS = 6;
|
|
public const uint PARTICLE_SYSTEM = 7;
|
|
public const uint SPRITE = 8;
|
|
public const uint POINT_LIGHT = 10;
|
|
public const uint COLLIDABLE = 12;
|
|
public const uint CLICKABLE = 14;
|
|
public const uint APPEARANCE = 22;
|
|
public const uint USERINTERFACE = 24;
|
|
}
|
|
}
|