amethyst / evoli

An ecosystem-simulation game made with Amethyst
https://community.amethyst.rs/t/evoli-introduction/770
Other
217 stars 33 forks source link

Make colliders and other relevant components scale when scaling the entity's `Transform` #53

Open sunreef opened 5 years ago

sunreef commented 5 years ago

Right now, if you change the scale of an entity via the set_scalemethod of its Transform, the collider Circle does not change radius.

If we can adapt the size of the collider and other relevant components, this would let us create creatures of the same type but different sizes: parents and children.

marotili commented 5 years ago

I don't think it is worth the effort tackling this atm, because the collision system will be replaced by a real one as soon as physics integration is done. I would imagine that this will be supported then