Frictional Games Forum (read-only)

Full Version: Using multiple bodies on an object?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I made a lightsaber with Umbakarna today, and i have specific problem with it..

[Image: attachment.php?aid=5108]

I'd like to make another body for the blade that is silent, and collides only characters. When i try to do that the thing looks like this in game:

[Image: attachment.php?aid=5109]

How is it possible to add two different bodies to a mesh, with different properties (and make it working in game or course)? It worked i mean even that it appeared badly, the hilt collided the floor and the blade didn't.
How does the outline look?

Are they tied to each other correctly?
You need to separate the meshes in your model. Split the hilt from the blade and you will be able to attach a body to each specific part. When you select a body you've created in the model editor, you get the option to "Assign sub-mesh." Use this to link it to your part. I don't think you can link two bodies to the same mesh.

I'm not certain of all the details, because using two different bodies, both with mass, may have them act as two separate objects. I'm sure there's a way to stick them together, but I don't quite remember. I believe something like that is what happened here, where the gravity of the blade is normal, but the hilt just fell through the floor?
what i want to achieve is actually the blade to go through walls, but it can collide with monsters (there is a "combat" element for weapons, already used by Umba, that if you hit a monster multiple times with a weapon it will poof). the hilt acts as a normal object, that also collides walls. is it actually possible? on the body if the property is the to "collide character" only will it also collide with the monsters not just the player?
I'm not sure as I've never really tested it myself, but I would guess so. Makes sense to me that it would.

I'm sure your request is possible.
okay i tried some things. when i attach body 1 to the hilt (and particles, sound), and body 2 to the blade the two bodies become separated. i can pick up the hilt, it goes into my hand wihtout the blade mesh, but with all particles. i can click on the blade mesh too, but it remains on the ground. when i attach both bodies to both meshes, i can only pick up the blade with all the particles but the hilt remains on the ground, uninteractable. any possible solutions based on this information?

i uploaded the last version, where the bodies are attached to their proper mesh, but they fall apart and act separately.

[attachment=5111]