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

Collide shape query #38

Merged
merged 6 commits into from
May 20, 2024
Merged

Collide shape query #38

merged 6 commits into from
May 20, 2024

Conversation

LeXXik
Copy link
Member

@LeXXik LeXXik commented May 20, 2024

Adds new feature - collide shape query.

You can now create a shape and test if it collides with something in the world:

const shapeIndex = app.physics.createShape(SHAPE_SPHERE);
app.physics.collideShape(shapeIndex, shapePosition, shapeRotation, callback);

@LeXXik LeXXik added the enhancement New feature or request label May 20, 2024
@LeXXik LeXXik merged commit 0fd914a into Gamebop:master May 20, 2024
2 of 3 checks passed
@LeXXik LeXXik deleted the collide-shape branch May 20, 2024 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants