Add aabb values and Collidable component to power objects
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user