Attaching `CollisionEventsEnabled` to `ColliderConstructorHierarchy` colliders
Hi Joona,
I'm trying to attach some properties like `CollisionEventsEnabled` and another custom component to a collider that I've created with:
```
actor.insert(
ColliderConstructorHierarchy::new(None).
.with_constructor_for_name("Collider.Material", ColliderConstructor::TrimeshFromMesh)
.with_density_for_name("Collider.Material", the_density as f32)
.with_default_layers(CollisionLayers::ALL)
);
```
I looked for hours to find a way to do this, there doesn't seem to be any.
Can you please add one, or document one if it already exists? This would be a good place for documentation:
https://github.com/avianphysics/avian/blob/e5049eaac4e269fa0fd8ec89a2373c331e48562d/src/collision/collider/constructor.rs#L65-L80
Thanks so much!
1 条评论