-
Notifications
You must be signed in to change notification settings - Fork 514
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
CharacterController has allowGod option #31
base: master
Are you sure you want to change the base?
Conversation
Seems like a fair addition. Please can you make the following changes:
|
I don't get the 1. Ian Ballantyne wrote:
|
c.allowGod = params.allowGod || c.allowGod; in this case if params.allowGod is false (or undefined), then allowGod will still be true. It should probably be: if (params.allowGod !== undefined) |
Oh... yes. Ian Ballantyne wrote:
|
fixed |
@ianballantyne I fixed your two points. |
@Herby Thanks. We'll take a look shortly. |
I would suggest to change the option to be "disableGod", it makes the logic a bit simpler. |
done David Galeano wrote:
|
We usually write line 149 like this:
|
Whatever you see fit. David Galeano wrote:
|
No description provided.