From 5ead162b0994d5e60332528cc1201da52cb1f7b6 Mon Sep 17 00:00:00 2001 From: 20kdc Date: Thu, 23 Sep 2021 23:44:59 +0100 Subject: [PATCH] Fix chair rotations (#4688) Wooden chairs are rotatable, metal chairs have anchored set properly, all chairs and stools don't rotate weirdly visually --- Resources/Prototypes/Entities/Structures/Furniture/seats.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/Entities/Structures/Furniture/seats.yml b/Resources/Prototypes/Entities/Structures/Furniture/seats.yml index 242b1dcbec..f48407e528 100644 --- a/Resources/Prototypes/Entities/Structures/Furniture/seats.yml +++ b/Resources/Prototypes/Entities/Structures/Furniture/seats.yml @@ -20,6 +20,7 @@ - SmallImpassable - type: Sprite sprite: Structures/Furniture/furniture.rsi + noRot: true - type: Strap position: Stand - type: Pullable @@ -43,13 +44,14 @@ id: Chair parent: SeatBase components: + - type: Transform + anchored: true - type: Anchorable - type: Rotatable - type: Sprite state: chair color: "#8e9799" - type: Physics - bodyType: Static fixtures: - shape: !type:PhysShapeAabb @@ -174,6 +176,7 @@ - type: Sprite state: wooden_chair color: "white" + - type: Rotatable - type: Physics fixtures: - shape: