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 Sensor component for colliders #44

Merged
merged 1 commit into from
Jun 17, 2023
Merged

Add Sensor component for colliders #44

merged 1 commit into from
Jun 17, 2023

Conversation

Jondolf
Copy link
Owner

@Jondolf Jondolf commented Jun 17, 2023

Adds a Sensor component for creating colliders that generate collision events but don't cause a collision response.

Example

commands.spawn((Collider::ball(0.5), Sensor));

@Jondolf Jondolf added the C-Enhancement New feature or request label Jun 17, 2023
@Jondolf Jondolf merged commit cb233a3 into main Jun 17, 2023
3 checks passed
@Jondolf Jondolf deleted the sensor-colliders branch June 17, 2023 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant