Ground check BoxCast is detecting when player hits bottom of platform. UNITY 2D

前端 未结 0 1849
心在旅途
心在旅途 2021-01-21 16:26

I am making an endless platformer.

    private bool IsGrounded()
    {
        RaycastHit2D raycastHit2d = Physics2D.BoxCast(boxCollider2d.bounds.center, boxColli         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题