Skip to content

Instantly share code, notes, and snippets.

View gologius's full-sized avatar
🐱
On vacation

gologius gologius

🐱
On vacation
View GitHub Profile
public CapsuleCollider capCollider;
void Start()
{
capColider = this.GetComponent<CapsuleCollider>();
}
private bool checkGround()
{
//CapsuleColliderの足元に、判定Sphereを設置→Sphere内のオブジェクトを全走査する