mirror of
https://github.com/ConjureETS/PillowFight.git
synced 2026-03-24 00:50:59 +00:00
Merge branch 'master' of https://github.com/conjureets/pillowfight
This commit is contained in:
commit
c484137289
BIN
Assets/Materials/SlipperyMaterial.physicMaterial
Normal file
BIN
Assets/Materials/SlipperyMaterial.physicMaterial
Normal file
Binary file not shown.
8
Assets/Materials/SlipperyMaterial.physicMaterial.meta
Normal file
8
Assets/Materials/SlipperyMaterial.physicMaterial.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e20d9c81c57a0c14abf0b23546831a8f
|
||||
timeCreated: 1440226047
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
Binary file not shown.
@ -58,7 +58,7 @@ public class Child : MonoBehaviour
|
||||
|
||||
private bool IsGrounded()
|
||||
{
|
||||
Collider[] colliders = Physics.OverlapSphere(GroundCheck.transform.position, 0.5f, 1 << LayerMask.NameToLayer("Ground"));
|
||||
Collider[] colliders = Physics.OverlapSphere(GroundCheck.transform.position, 0.149f, 1 << LayerMask.NameToLayer("Ground"));
|
||||
|
||||
return colliders.Length > 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user