-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/testplayer #14
Conversation
"chore: Class hierarchy change" |
"chore:review reflected" |
@@ -52,7 +53,7 @@ private void Awake() | |||
_collider = GetComponent<Collider>(); | |||
_physicMaterial = _collider.material; | |||
_isHoldingJump = false; | |||
_isGrounded = 0; | |||
_isGrounded = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IsGrounded 라는 프로퍼티로 만드는건 어떨까 싶습니다
@@ -174,18 +160,23 @@ public void InteractWithProp(PropBase prop) | |||
|
|||
private void OnCollisionEnter(Collision collision) | |||
{ | |||
|
|||
var contactPoint = collision.contacts[0]; | |||
if (contactPoint.normal.y > 0.7f) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
조정이 편하게 에셋으로 빼는건 어떨까요
f1325d8
to
956393e
Compare
"Add: State transitions, Interactions with props"