Skip to content
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

Removes requirement of RigidBody2D #78 #91

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

riktothepast
Copy link

Removes requirement of RigidBody2D as is no longer being used by the character controller.

@prime31
Copy link
Owner

prime31 commented Oct 16, 2018

This is an interesting one. The Rigidbody2D most definitely doesn't need to be required anymore and certainly not stored in an instance variable. That being said, it is very important for getting trigger callbacks. Either the triggers or the CharacterController2D need to have one. I am not sure what the best way to handle that is. Maybe documenting it in the README so that folks that don't know Unity well understand they need to have a Rigidbody2D on either the CC2D or their other triggers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants