Add aabb values and Collidable component to power objects

This commit is contained in:
moneyl
2019-05-23 15:46:43 -04:00
parent 377bd1890e
commit 196ec030f5

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