Merge pull request #236 from Moneyl/add-missing-bbox-aabb

Adds collision to several power entities
This commit is contained in:
Pieter-Jan Briers
2019-05-24 21:57:54 +02:00
committed by GitHub
2 changed files with 9 additions and 1 deletions

View File

@@ -41,6 +41,8 @@
components:
- type: Clickable
- type: BoundingBox
aabb: -0.5, -0.5, 0.3, 0.5
- type: Collidable
- type: Sprite
texture: Objects/generator.png
- type: Icon
@@ -105,6 +107,8 @@
components:
- type: Clickable
- type: BoundingBox
aabb: -0.5, -0.5, 0.5, 0.5
- type: Collidable
- type: Sprite
netsync: false
sprite: Buildings/smes.rsi
@@ -140,6 +144,8 @@
components:
- type: Clickable
- type: BoundingBox
aabb: -0.5, -0.25, 0.5, 0.25
- type: Collidable
- type: Sprite
texture: Objects/wiredmachine.png
- type: Icon
@@ -156,6 +162,8 @@
components:
- type: Clickable
- type: BoundingBox
aabb: -0.5, -0.25, 0.5, 0.25
- type: Collidable
- type: Sprite
texture: Objects/wirelessmachine.png
- type: Icon