Scene Changes and bug fixes #431
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -0,0 +1,7 @@
|
|||
Name: MD_Birdnest
|
||||
ID: 75951674
|
||||
Type: 4
|
||||
Sub Assets:
|
||||
Name: Birdnest
|
||||
ID: 148793058
|
||||
Type: 8
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -0,0 +1,7 @@
|
|||
Name: MD_DarkCorridor
|
||||
ID: 83188665
|
||||
Type: 4
|
||||
Sub Assets:
|
||||
Name: CorridorPiece
|
||||
ID: 136332265
|
||||
Type: 8
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -0,0 +1,7 @@
|
|||
Name: MD_RubbishBinV2
|
||||
ID: 71821168
|
||||
Type: 4
|
||||
Sub Assets:
|
||||
Name: RubbishBin02
|
||||
ID: 141767450
|
||||
Type: 8
|
File diff suppressed because it is too large
Load Diff
|
@ -52,8 +52,7 @@ public class Breakable : Script
|
|||
if (ignoreRaccoon && info.GameObject.GetScript<PlayerController>())
|
||||
return;
|
||||
|
||||
|
||||
if (rb.LinearVelocity.GetSqrMagnitude() > threshHold && !info.GameObject.GetScript<PlayerController>())
|
||||
if (rb.LinearVelocity.GetSqrMagnitude() > threshHold)
|
||||
{
|
||||
isBreak = true;
|
||||
if (GameObject.GetScript<Item>())
|
||||
|
|
Loading…
Reference in New Issue