Fix chair rotations (#4688)

Wooden chairs are rotatable, metal chairs have anchored set properly, all chairs and stools don't rotate weirdly visually
This commit is contained in:
20kdc
2021-09-23 23:44:59 +01:00
committed by GitHub
parent 2145124aa4
commit 5ead162b09

View File

@@ -20,6 +20,7 @@
- SmallImpassable - SmallImpassable
- type: Sprite - type: Sprite
sprite: Structures/Furniture/furniture.rsi sprite: Structures/Furniture/furniture.rsi
noRot: true
- type: Strap - type: Strap
position: Stand position: Stand
- type: Pullable - type: Pullable
@@ -43,13 +44,14 @@
id: Chair id: Chair
parent: SeatBase parent: SeatBase
components: components:
- type: Transform
anchored: true
- type: Anchorable - type: Anchorable
- type: Rotatable - type: Rotatable
- type: Sprite - type: Sprite
state: chair state: chair
color: "#8e9799" color: "#8e9799"
- type: Physics - type: Physics
bodyType: Static
fixtures: fixtures:
- shape: - shape:
!type:PhysShapeAabb !type:PhysShapeAabb
@@ -174,6 +176,7 @@
- type: Sprite - type: Sprite
state: wooden_chair state: wooden_chair
color: "white" color: "white"
- type: Rotatable
- type: Physics - type: Physics
fixtures: fixtures:
- shape: - shape: