update scene 3 to have the bird nest and rubbish bin
This commit is contained in:
parent
cc0116ac53
commit
a633bd64d8
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>())
|
if (ignoreRaccoon && info.GameObject.GetScript<PlayerController>())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (rb.LinearVelocity.GetSqrMagnitude() > threshHold)
|
||||||
if (rb.LinearVelocity.GetSqrMagnitude() > threshHold && !info.GameObject.GetScript<PlayerController>())
|
|
||||||
{
|
{
|
||||||
isBreak = true;
|
isBreak = true;
|
||||||
if (GameObject.GetScript<Item>())
|
if (GameObject.GetScript<Item>())
|
||||||
|
|
Loading…
Reference in New Issue