Fix BaseConstructible and BaseConstructibleDynamic to use the new entity anchoring

This commit is contained in:
Vera Aguilera Puerto
2021-06-20 18:20:46 +02:00
parent 5b41d3328e
commit efad7b8dbb
2 changed files with 4 additions and 2 deletions

View File

@@ -6,7 +6,6 @@
parent: BaseConstructibleDynamic parent: BaseConstructibleDynamic
components: components:
- type: InteractionOutline - type: InteractionOutline
- type: SnapGrid
- type: Sprite - type: Sprite
netsync: false netsync: false
sprite: Constructible/Atmos/canister.rsi sprite: Constructible/Atmos/canister.rsi

View File

@@ -4,7 +4,8 @@
placement: placement:
mode: SnapgridCenter mode: SnapgridCenter
components: components:
- type: SnapGrid - type: Transform
anchored: true
- type: Clickable - type: Clickable
- type: Physics - type: Physics
bodyType: Static bodyType: Static
@@ -30,6 +31,8 @@
# - type: DamageOnHighSpeedImpact # - type: DamageOnHighSpeedImpact
# - type: TileFrictionModifier # - type: TileFrictionModifier
# modifier: 0.5 # modifier: 0.5
- type: Transform
anchored: false
- type: Clickable - type: Clickable
- type: Physics - type: Physics
bodyType: Dynamic bodyType: Dynamic