-
Notifications
You must be signed in to change notification settings - Fork 21
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
Collisions is not a constructor #1
Comments
thanks for help |
Sorry there was error in the documentation :( Please use like:
Please update to version |
|
this is because there is more to the engine than just Collisions, there are
|
Thank you. If I only watched my email I would've seen this before giving up xD. My projects are gone now anyways (I had a PC problem) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My code is simply
but I get the error
TypeError: Collisions is not a constructor
. I know what that means butCollisions
is supposed to be a constructor. Also when trying it without thenew
it saysCollisions is not a function
. I probably made an obvious mistake but I can't find it.Edit
When
console.log
ingCollisions
everything looks defined anddefault
is a function.Edit #2
Adding
.default
works for some reason.The text was updated successfully, but these errors were encountered: