Commit a2a35eeb authored by Markus Schlösser's avatar Markus Schlösser
Browse files

Added physics shape to every tile

parent b919635f
fileFormatVersion: 2
guid: 7d76a63dfd317814d9eef925c0df39c7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 7302d929ac7a2f44180b44e09592ac8a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -74,7 +74,7 @@ public class RotatedTile : TileBase {
tileData.color = Color.white;
tileData.transform = Matrix4x4.TRS(Vector3.zero, Quaternion.Euler(0, 0, GetDegrees()), Vector3.one);
tileData.flags = TileFlags.LockTransform;
tileData.colliderType = Tile.ColliderType.Grid;
tileData.colliderType = Tile.ColliderType.Sprite;
}
private float GetDegrees() {
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -83,10 +83,28 @@ TextureImporter:
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
outline:
- - {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -124, y: -72}
- {x: -98, y: -1}
- {x: -56, y: 50}
- {x: -6, y: 94}
- {x: 59, y: 121}
- {x: 128, y: 128}
physicsShape:
- - {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -122, y: -76}
- {x: -105, y: -18}
- {x: -84, y: 17}
- {x: -52, y: 56}
- {x: -9, y: 89}
- {x: 35, y: 111}
- {x: 71, y: 121}
- {x: 110, y: 128}
bones: []
spriteID:
spriteID: a7b17f172a58a6947833acfe41f21a1d
vertices: []
indices:
edges: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,16 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -122, y: -61}
- {x: -67, y: 42}
- {x: 23, y: 107}
- {x: 86, y: 123}
- {x: 128, y: 128}
bones: []
spriteID:
spriteID: 763bd35b24d90054a96ed58c3deac0a6
vertices: []
indices:
edges: []
......
......@@ -83,8 +83,26 @@ TextureImporter:
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
outline:
- - {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -124, y: -72}
- {x: -98, y: -1}
- {x: -56, y: 50}
- {x: -6, y: 94}
- {x: 59, y: 121}
- {x: 128, y: 128}
physicsShape:
- - {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -122, y: -76}
- {x: -105, y: -18}
- {x: -84, y: 17}
- {x: -52, y: 56}
- {x: -9, y: 89}
- {x: 35, y: 111}
- {x: 71, y: 121}
- {x: 110, y: 128}
bones: []
spriteID:
vertices: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,16 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -122, y: -59}
- {x: -70, y: 39}
- {x: -5, y: 92}
- {x: 61, y: 120}
- {x: 128, y: 128}
bones: []
spriteID:
spriteID: d9035f59517d42642b7bfcd450694516
vertices: []
indices:
edges: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,18 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: 128, y: 128}
- {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -125, y: -109}
- {x: -111, y: -32}
- {x: -78, y: 27}
- {x: -24, y: 77}
- {x: 39, y: 112}
- {x: 77, y: 122}
bones: []
spriteID:
spriteID: 7adf5e850c2752a43ae37d3b8d6e0c62
vertices: []
indices:
edges: []
......
......@@ -83,8 +83,26 @@ TextureImporter:
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
outline:
- - {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -124, y: -72}
- {x: -98, y: -1}
- {x: -56, y: 50}
- {x: -6, y: 94}
- {x: 59, y: 121}
- {x: 128, y: 128}
physicsShape:
- - {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -122, y: -76}
- {x: -105, y: -18}
- {x: -84, y: 17}
- {x: -52, y: 56}
- {x: -9, y: 89}
- {x: 35, y: 111}
- {x: 71, y: 121}
- {x: 110, y: 128}
bones: []
spriteID:
vertices: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,16 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: -87, y: 14}
- {x: -116, y: -48}
- {x: -128, y: -128}
- {x: 128, y: -128}
- {x: 128, y: 128}
- {x: 66, y: 122}
- {x: -26, y: 79}
bones: []
spriteID:
spriteID: bc88a1060dca8024cbd0d45a3af90771
vertices: []
indices:
edges: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,17 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: 44, y: 118}
- {x: -25, y: 80}
- {x: -81, y: 24}
- {x: -109, y: -29}
- {x: -124, y: -73}
- {x: -128, y: -128}
- {x: 128, y: -128}
- {x: 128, y: 128}
bones: []
spriteID:
spriteID: 27f613816eaa37c4fb29de46fc0e90f9
vertices: []
indices:
edges: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,16 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: 50, y: 117}
- {x: -43, y: 66}
- {x: -81, y: 19}
- {x: -122, y: -55}
- {x: -128, y: -128}
- {x: 128, y: -128}
- {x: 128, y: 128}
bones: []
spriteID:
spriteID: c628c6587e972b143888a3380530457d
vertices: []
indices:
edges: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,17 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: -85, y: 21}
- {x: -120, y: -52}
- {x: -128, y: -128}
- {x: 128, y: -128}
- {x: 128, y: 128}
- {x: 66, y: 123}
- {x: 18, y: 106}
- {x: -37, y: 69}
bones: []
spriteID:
spriteID: b9d2e0c955ae9ae4f8e18c310043bf64
vertices: []
indices:
edges: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,17 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: -65, y: 44}
- {x: -111, y: -29}
- {x: -126, y: -84}
- {x: -128, y: -128}
- {x: 128, y: -128}
- {x: 128, y: 128}
- {x: 53, y: 120}
- {x: -6, y: 93}
bones: []
spriteID:
spriteID: 48a5bd1b4a089f54598a5ba188f19071
vertices: []
indices:
edges: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,17 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: 63, y: 122}
- {x: -8, y: 86}
- {x: -51, y: 52}
- {x: -94, y: -1}
- {x: -119, y: -55}
- {x: -128, y: -128}
- {x: 128, y: -128}
- {x: 128, y: 128}
bones: []
spriteID:
spriteID: 1d7055051486d154387e2ece0504cedc
vertices: []
indices:
edges: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,17 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -123, y: -65}
- {x: -90, y: 9}
- {x: -30, y: 74}
- {x: 32, y: 110}
- {x: 82, y: 124}
- {x: 128, y: 128}
bones: []
spriteID:
spriteID: c7e235ad5e81a5d4381fa45e7d6734be
vertices: []
indices:
edges: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,17 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -120, y: -69}
- {x: -104, y: -12}
- {x: -71, y: 38}
- {x: -3, y: 94}
- {x: 72, y: 123}
- {x: 128, y: 128}
bones: []
spriteID:
spriteID: 3fee697409761aa49b553f71b34c9fc7
vertices: []
indices:
edges: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,17 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: -124, y: -87}
- {x: -110, y: -29}
- {x: -74, y: 35}
- {x: -12, y: 87}
- {x: 69, y: 122}
- {x: 128, y: 128}
- {x: -128, y: 128}
- {x: -128, y: -128}
bones: []
spriteID:
spriteID: f9c6268a3e5360d48adecf483f852bd4
vertices: []
indices:
edges: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,16 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -121, y: -65}
- {x: -84, y: 20}
- {x: -2, y: 94}
- {x: 69, y: 121}
- {x: 128, y: 128}
bones: []
spriteID:
spriteID: 983519ffdb25b36469856cc66695fafc
vertices: []
indices:
edges: []
......
......@@ -50,7 +50,7 @@ TextureImporter:
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
spriteTessellationDetail: 0
textureType: 8
textureShape: 1
singleChannelComponent: 0
......@@ -84,9 +84,18 @@ TextureImporter:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
physicsShape:
- - {x: 128, y: 128}
- {x: -128, y: 128}
- {x: -128, y: -128}
- {x: -125, y: -109}
- {x: -123, y: -69}
- {x: -110, y: -30}
- {x: -77, y: 28}
- {x: -15, y: 84}
- {x: 56, y: 117}
bones: []
spriteID:
spriteID: f52651e08eb79094e9dfc985f6441acf
vertices: []
indices:
edges: []
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment