Add aabb values and Collidable component to power objects
This commit is contained in:
@@ -41,6 +41,8 @@
|
|||||||
components:
|
components:
|
||||||
- type: Clickable
|
- type: Clickable
|
||||||
- type: BoundingBox
|
- type: BoundingBox
|
||||||
|
aabb: -0.5, -0.5, 0.3, 0.5
|
||||||
|
- type: Collidable
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
texture: Objects/generator.png
|
texture: Objects/generator.png
|
||||||
- type: Icon
|
- type: Icon
|
||||||
@@ -105,6 +107,8 @@
|
|||||||
components:
|
components:
|
||||||
- type: Clickable
|
- type: Clickable
|
||||||
- type: BoundingBox
|
- type: BoundingBox
|
||||||
|
aabb: -0.5, -0.5, 0.5, 0.5
|
||||||
|
- type: Collidable
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
netsync: false
|
netsync: false
|
||||||
sprite: Buildings/smes.rsi
|
sprite: Buildings/smes.rsi
|
||||||
@@ -140,6 +144,8 @@
|
|||||||
components:
|
components:
|
||||||
- type: Clickable
|
- type: Clickable
|
||||||
- type: BoundingBox
|
- type: BoundingBox
|
||||||
|
aabb: -0.5, -0.25, 0.5, 0.25
|
||||||
|
- type: Collidable
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
texture: Objects/wiredmachine.png
|
texture: Objects/wiredmachine.png
|
||||||
- type: Icon
|
- type: Icon
|
||||||
@@ -156,6 +162,8 @@
|
|||||||
components:
|
components:
|
||||||
- type: Clickable
|
- type: Clickable
|
||||||
- type: BoundingBox
|
- type: BoundingBox
|
||||||
|
aabb: -0.5, -0.25, 0.5, 0.25
|
||||||
|
- type: Collidable
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
texture: Objects/wirelessmachine.png
|
texture: Objects/wirelessmachine.png
|
||||||
- type: Icon
|
- type: Icon
|
||||||
|
|||||||
Reference in New Issue
Block a user