Added a Collidable Component to the existing station grind in StationStation.
This commit is contained in:
@@ -52,6 +52,7 @@ namespace Content.Server.GameObjects.Components.Movement
|
|||||||
physComp.Mass = 1;
|
physComp.Mass = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: Is this always true?
|
||||||
if (!gridEntity.HasComponent<ICollidableComponent>())
|
if (!gridEntity.HasComponent<ICollidableComponent>())
|
||||||
{
|
{
|
||||||
var collideComp = gridEntity.AddComponent<CollidableComponent>();
|
var collideComp = gridEntity.AddComponent<CollidableComponent>();
|
||||||
|
|||||||
@@ -101,6 +101,10 @@ entities:
|
|||||||
type: Transform
|
type: Transform
|
||||||
- index: 0
|
- index: 0
|
||||||
type: MapGrid
|
type: MapGrid
|
||||||
|
- shapes:
|
||||||
|
- !type:PhysShapeGrid
|
||||||
|
grid: 0
|
||||||
|
type: Collidable
|
||||||
- uid: 1
|
- uid: 1
|
||||||
type: LaserItem
|
type: LaserItem
|
||||||
components:
|
components:
|
||||||
|
|||||||
Submodule RobustToolbox updated: 78a33076f9...30db86fae8
Reference in New Issue
Block a user