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 AsyncSceneCombinedCollider #328

Open
Shatur opened this issue Feb 18, 2024 · 2 comments
Open

Add AsyncSceneCombinedCollider #328

Shatur opened this issue Feb 18, 2024 · 2 comments
Labels
collision detection Relates to the broad phase, narrow phase or collision APIs enhancement New feature or request

Comments

@Shatur
Copy link

Shatur commented Feb 18, 2024

We currently have AsyncSceneCollider which adds colliders for each mesh.

But sometimes it's useful to have a single collider for all meshes combined. For this users have to iterate over all meshes after scene spawned, combine them into a single mesh and attach a collider from it. But it would be more convenient to have a built-in feature for it.

@Jondolf Jondolf added enhancement New feature or request collision detection Relates to the broad phase, narrow phase or collision APIs labels Feb 18, 2024
@blueforesticarus
Copy link

I would add that this would be useful for blender based scene workflow.

Currently adding AsyncCollider to a object would not work, since blender objects get turned into sub-scenes (iirc), which have the actual mesh bearing entity as a child.

Really, in my opinion AsyncCollider should take into account sub-entities, rather than making a new component.

@blueforesticarus
Copy link

blueforesticarus commented Apr 26, 2024

As a separate concern, it would be good to have AutomaticCollider's for capsule, sphere, cuboid, plane, etc.

And more complex logic, like automatically deciding between a plane and a cuboid, also strikes me as useful.

Also also, I wonder if I could get something working with blender render-graphs for drawing the collider from custom properties and then positioning it visually as a child of the mesh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
collision detection Relates to the broad phase, narrow phase or collision APIs enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants