Skip to content
Snippets Groups Projects
Commit 366368d3 authored by SK's avatar SK
Browse files

Fix balls dropping on mobile
parent 5e8d03ab
No related branches found
No related tags found
No related merge requests found
Showing
with 166 additions and 14 deletions
fileFormatVersion: 2
guid: 82e7193ff16c54eeb8c83d48c1e2ad07
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 61e781d199f6efd4cb2d7f936c96e642
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 56f1a77cfb52441f4bb364e4c4bef9ad
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: b930a4b8266e83742987b4344dcec5b5
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 911ea977843f1374ea7ceae64e93156f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 318ac27b67500ea4498f806a3d7df7e6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: f114e6025da31c947bc12a0004f00b05
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: fc6e98c4f3b3c1d4386f6448c0e24839
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 72a30e5a5694fb742a98f324f5ab6b6b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: c60fde2f6d3ec6249bf8090fdb0995e8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 4ab1e2e72a52218429d2dc18bab3b618
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 3ad2fb8a97cdf3b46868b988962a654c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 15dd1b3b78a1fa046bcca62d7f2990de
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 07e42fa31a2fa03419d6d1bf731fc4e1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 0812e623aaa224fae8650050d44f668b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 1552f748f17ed43c88abc1ca6680da9e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: d4538736dac824d649cfba1f453828ca
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 2f0f7fdb6d5b9415fb77fd2352d169b7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -17,13 +17,15 @@ public class PositionFreezer : MonoBehaviour
{
foreach(GameObject g in objectsToFreeze)
{
g.GetComponent<Rigidbody>().freezeRotation = true;
//g.GetComponent<Rigidbody>().freezeRotation = true;
g.GetComponent<Rigidbody>().constraints = RigidbodyConstraints.FreezeAll;
}
Debug.Log("Froze object rotations");
yield return new WaitForSeconds(time);
foreach (GameObject g in objectsToFreeze)
{
g.GetComponent<Rigidbody>().freezeRotation = false;
//g.GetComponent<Rigidbody>().freezeRotation = false;
g.GetComponent<Rigidbody>().constraints = RigidbodyConstraints.None;
}
Debug.Log("Unfroze object rotations");
......
......@@ -49,8 +49,8 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
objectsToFreeze:
- {fileID: 4754740324793470766}
- {fileID: 4754740325294271806}
- {fileID: 4754740325010276574}
- {fileID: 4754740323877786398}
freezeTime: 5
--- !u!1 &326737170571379387
GameObject:
......@@ -583,9 +583,15 @@ Rigidbody:
type: 3}
m_PrefabInstance: {fileID: 6355682192000975589}
m_PrefabAsset: {fileID: 0}
--- !u!1 &4754740325294271806 stripped
--- !u!1 &4754740325010276574 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1859934306678173659, guid: 5c610cac89dda2347ae64793c71a1c56,
m_CorrespondingSourceObject: {fileID: 1859934306961982011, guid: 5c610cac89dda2347ae64793c71a1c56,
type: 3}
m_PrefabInstance: {fileID: 6355682192000975589}
m_PrefabAsset: {fileID: 0}
--- !u!1 &4754740323877786398 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1859934305963774459, guid: 5c610cac89dda2347ae64793c71a1c56,
type: 3}
m_PrefabInstance: {fileID: 6355682192000975589}
m_PrefabAsset: {fileID: 0}
......@@ -824,12 +830,12 @@ PrefabInstance:
- target: {fileID: 7544026515015385958, guid: 654169ad51cb4904d8eb20dd685fba00,
type: 3}
propertyPath: m_ConnectedAnchor.y
value: 0.02638036
value: 0.02638033
objectReference: {fileID: 0}
- target: {fileID: 7544026515015385958, guid: 654169ad51cb4904d8eb20dd685fba00,
type: 3}
propertyPath: m_ConnectedAnchor.z
value: -0.43129304
value: -0.43129322
objectReference: {fileID: 0}
- target: {fileID: 7544026515730401926, guid: 654169ad51cb4904d8eb20dd685fba00,
type: 3}
......@@ -839,22 +845,22 @@ PrefabInstance:
- target: {fileID: 7544026515730401926, guid: 654169ad51cb4904d8eb20dd685fba00,
type: 3}
propertyPath: m_ConnectedAnchor.z
value: -0.7921946
value: -0.79219365
objectReference: {fileID: 0}
- target: {fileID: 7544026515730401926, guid: 654169ad51cb4904d8eb20dd685fba00,
type: 3}
propertyPath: m_ConnectedAnchor.y
value: -1.3262705
value: -1.3262701
objectReference: {fileID: 0}
- target: {fileID: 7544026516087224695, guid: 654169ad51cb4904d8eb20dd685fba00,
type: 3}
propertyPath: m_ConnectedAnchor.y
value: -1.3286407
value: -1.3286405
objectReference: {fileID: 0}
- target: {fileID: 7544026516087224695, guid: 654169ad51cb4904d8eb20dd685fba00,
type: 3}
propertyPath: m_ConnectedAnchor.z
value: -0.7940594
value: -0.7940589
objectReference: {fileID: 0}
- target: {fileID: 8120791789481751997, guid: 654169ad51cb4904d8eb20dd685fba00,
type: 3}
......@@ -874,12 +880,12 @@ PrefabInstance:
- target: {fileID: 8766977616049573578, guid: 654169ad51cb4904d8eb20dd685fba00,
type: 3}
propertyPath: m_ConnectedAnchor.y
value: -1.1114961
value: -1.111494
objectReference: {fileID: 0}
- target: {fileID: 8766977616049573578, guid: 654169ad51cb4904d8eb20dd685fba00,
type: 3}
propertyPath: m_ConnectedAnchor.z
value: 1.7306037
value: 1.7306093
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 654169ad51cb4904d8eb20dd685fba00, type: 3}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment