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

Add a 3D physics behavior #7149

Draft
wants to merge 57 commits into
base: master
Choose a base branch
from
Draft

Add a 3D physics behavior #7149

wants to merge 57 commits into from

Conversation

@D8H D8H changed the title Add a 3D Physics behavior Add a 3D physics behavior Nov 12, 2024
@@ -0,0 +1,51 @@
namespace gdjs {
export namespace physics3d {
export const objectsCollide = function (
Copy link
Owner

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:

Suggested change
export const objectsCollide = function (
export const areObjectsColliding = function (

Copy link
Collaborator Author

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?

Copy link
Owner

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.

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