Allows objects to be pulled round corners (#7541)
* allow corner pulling for BaseStructureDynamic's children * corner pulling pass over all Pullable component prototypes
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
mass: 150
|
||||
layer:
|
||||
- SmallImpassable
|
||||
mask:
|
||||
- VaultImpassable
|
||||
- type: Nuke
|
||||
# ~50 tile radius in open space
|
||||
# close to defaulkt max cap.
|
||||
@@ -65,6 +67,8 @@
|
||||
mass: 150
|
||||
layer:
|
||||
- SmallImpassable
|
||||
mask:
|
||||
- VaultImpassable
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
tank:
|
||||
|
||||
@@ -51,6 +51,9 @@
|
||||
- Wringer
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
fixedRotation: false
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
- type: MovedByPressure
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
fixedRotation: false
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
state: ano01
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
sprite: Structures/Decoration/banner.rsi
|
||||
state: banner
|
||||
netsync: false
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
|
||||
@@ -6,10 +6,12 @@
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
|
||||
@@ -10,11 +10,12 @@
|
||||
sprite: Structures/Doors/Airlocks/Standard/basic.rsi
|
||||
state: "assembly"
|
||||
- type: Physics
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.49,-0.49,0.49,0.49"
|
||||
bounds: "-0.45,-0.45,0.45,0.45"
|
||||
mass: 100
|
||||
mask:
|
||||
- MobMask
|
||||
@@ -26,6 +27,7 @@
|
||||
- type: Pullable
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
|
||||
@@ -28,9 +28,11 @@
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.49,-0.49,0.49,0.49"
|
||||
bounds: "-0.45,-0.45,0.45,0.45"
|
||||
mass: 50
|
||||
layer:
|
||||
- SmallImpassable
|
||||
mask:
|
||||
- VaultImpassable
|
||||
- type: Transform
|
||||
noRot: true
|
||||
|
||||
@@ -177,7 +177,11 @@
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.49,-0.49,0.49,0.49"
|
||||
bounds: "-0.45,-0.45,0.45,0.45"
|
||||
mass: 50
|
||||
layer:
|
||||
- Opaque
|
||||
mask:
|
||||
- VaultImpassable
|
||||
- type: Transform
|
||||
noRot: true
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
max: 2
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Anchorable
|
||||
- type: Pullable
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
- Wooden
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Anchorable
|
||||
|
||||
@@ -29,6 +29,16 @@
|
||||
interfaces:
|
||||
- key: enum.InstrumentUiKey.Key
|
||||
type: InstrumentBoundUserInterface
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.45
|
||||
mass: 50
|
||||
layer:
|
||||
- SmallImpassable
|
||||
mask:
|
||||
- VaultImpassable
|
||||
|
||||
- type: entity
|
||||
parent: BasePlaceableInstrument
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
components:
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
delay: 2
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
|
||||
@@ -8,8 +8,10 @@
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
@@ -59,8 +61,10 @@
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
@@ -116,9 +120,12 @@
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Construction
|
||||
graph: Machine
|
||||
node: destroyedMachineFrame
|
||||
- type: Physics
|
||||
fixedRotation: false
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
|
||||
@@ -16,11 +16,13 @@
|
||||
netsync: false
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.25,-0.5,0.25,0.5"
|
||||
bounds: "-0.25,-0.45,0.25,0.45"
|
||||
mask:
|
||||
- Impassable
|
||||
- VaultImpassable
|
||||
|
||||
@@ -7,8 +7,10 @@
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
|
||||
@@ -9,11 +9,12 @@
|
||||
- type: Rotatable
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.49,-0.49,0.49,0.49"
|
||||
bounds: "-0.45,-0.45,0.45,0.45"
|
||||
mass: 25
|
||||
mask:
|
||||
- Opaque
|
||||
|
||||
@@ -9,11 +9,12 @@
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.5,-0.5,0.5,0.5"
|
||||
bounds: "-0.45,-0.45,0.45,0.45"
|
||||
mass: 25
|
||||
layer:
|
||||
- Impassable
|
||||
@@ -26,6 +27,7 @@
|
||||
- VaultImpassable
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Sprite
|
||||
sprite: Structures/Power/Generation/Singularity/collector.rsi
|
||||
netsync: false
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
- type: Clickable
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
@@ -28,5 +29,6 @@
|
||||
- MobMask
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Anchorable
|
||||
- type: Pullable
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
sprite: Structures/Power/Generation/ame.rsi
|
||||
state: control
|
||||
- type: Physics
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
@@ -43,6 +44,7 @@
|
||||
acts: ["Destruction"]
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Anchorable
|
||||
- type: Pullable
|
||||
- type: AMEController
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
@@ -34,6 +35,7 @@
|
||||
- SmallImpassable
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Sprite
|
||||
sprite: Structures/Power/power.rsi
|
||||
state: generator
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
anchored: true
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
@@ -111,6 +112,7 @@
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
@@ -126,6 +128,7 @@
|
||||
state: solar_assembly
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
@@ -153,6 +156,7 @@
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
@@ -174,6 +178,7 @@
|
||||
netsync: false
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
description: A canister that can contain any type of gas. It can be attached to connector ports using a wrench.
|
||||
components:
|
||||
- type: InteractionOutline
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/Storage/canister.rsi
|
||||
|
||||
@@ -54,3 +54,5 @@
|
||||
- type: DrainableSolution
|
||||
solution: tank
|
||||
- type: ReagentTank
|
||||
- type: Transform
|
||||
noRot: true
|
||||
@@ -6,12 +6,14 @@
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb {}
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.45,-0.45,0.45,0.45"
|
||||
mass: 50
|
||||
layer:
|
||||
- Impassable
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
- type: Clickable
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixedRotation: false
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
bodyType: Static
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: true
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
@@ -17,6 +18,8 @@
|
||||
mass: 25
|
||||
layer:
|
||||
- Passable
|
||||
mask:
|
||||
- VaultImpassable
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/cargo_telepad.rsi
|
||||
|
||||
@@ -5,10 +5,14 @@
|
||||
description: An interstellar-grade space farmplot allowing for rapid growth and selective breeding of crops. Just... keep in mind the space weeds.
|
||||
components:
|
||||
- type: Physics
|
||||
fixedRotation: false
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb {}
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.45,-0.45,0.45,0.1"
|
||||
mass: 25
|
||||
hard: true
|
||||
mask:
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
SheetSteel1:
|
||||
min: 1
|
||||
max: 1
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: KitchenSpike
|
||||
- type: Anchorable
|
||||
- type: Pullable
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.5,-0.5,0.5,0.1"
|
||||
bounds: "-0.45,-0.45,0.45,0.1"
|
||||
mass: 25
|
||||
hard: false
|
||||
mask:
|
||||
|
||||
Reference in New Issue
Block a user