This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+4 votes

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.

in Engine by (29 points)

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?

Bump again.....

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.