General Category > General Anim8or Forum

Attaching object or a target to a bone

(1/3) > >>

bayinghound:
Is there a way to attach and object to a bone in a scene. I was playing around with targets but that came up empty.

What I'm trying to do is animate a figure with a gun. I wanted to attach the "laser fire" to the muzzle of the gun.

Does that make sense?

Steve:
There isn't any way to do this currently. It's a very good idea and I've thought about it quite a bit. I should just dive in and see what I can do!

bayinghound:
That would be awesome!

ENSONIQ5:
There are a couple of sneaky workarounds that may give the effect you're after, if I understand correctly what you are trying to do.  One way would be to use morphs to effectively hide and reveal objects in scene mode.  So, the laser beam would be assigned to a bone in the figure, such as a hand bone, with a morph target set on the beam that changes the length of the beam.  So the beam is hidden in the barrel of the gun, then extended in a single frame when needed.  This is a rough example using an old model:

bayinghound:

--- Quote from: ENSONIQ5 on April 05, 2020, 02:33:33 am ---There are a couple of sneaky workarounds that may give the effect you're after, if I understand correctly what you are trying to do.  One way would be to use morphs to effectively hide and reveal objects in scene mode.  So, the laser beam would be assigned to a bone in the figure, such as a hand bone, with a morph target set on the beam that changes the length of the beam.  So the beam is hidden in the barrel of the gun, then extended in a single frame when needed.  This is a rough example using an old model:



--- End quote ---

I tried a slightly different approach with not nearly the results you got. I hadn't thought of using morph targets or a solid beam. Thanks for the tip! I'll try that out.

Navigation

[0] Message Index

[#] Next page

Go to full version