-
Notifications
You must be signed in to change notification settings - Fork 887
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
Add a 3D physics behavior #7149
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,51 @@ | |||
namespace gdjs { | |||
export namespace physics3d { | |||
export const objectsCollide = function ( |
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.
nit: always use a verb to start the name of a function:
export const objectsCollide = function ( | |
export const areObjectsColliding = function ( |
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.
Should I change it for the 2D one too?
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.
Let's do it. This is not part of a documented API surface.
e02c17b
to
b041073
Compare
Demo