|Topic was automatically imported from the old Question2Answer platform.
Imagine I’m trying to make a realistic pencil with a graphite tip, a wooden stem and a rubber on the end.
Each material has different physical properties (the rubber would bounce, while the graphite tip would not) but it acts as a single body in space.
How would I do this in Godot?
In other physics engines I’ve used, it’s possible to create compound bodies to achieve this, but there appears to be no such feature in Godot.
In a similar vein, I would like to have a single rigid body that consists of different collision layers & masks - e.g. one shape belonging to one set of layers and one shape belonging to another set of layers - or rather the ability to join separate rigid bodies so they act as one (a compound)
The closest thing I can think of is to use multiple joints with no degree of movement or rotational freedom.
I haven’t checked, but I’d imagine they would not fare well against high impact forces.
Would really appreciate some help on this.
Joints don’t seem to be a good solution, so how should I implement something like the pencil in my question?
hedgehog90 | 2018-05-21 11:08
hedgehog90 | 2018-05-24 09:43