Can a skinned mesh be attached to a rigid body?

Hi all, pretty new to unity, trying it out actually and I was wondering if what I want to do is doable in unity without hacking…

So basically I want to do a kart game so Ive done the car tutorial on the website, everything works fine I was able to bring in a custom model and set the physics and effects to have a decent example working…Now to take it a step further I am not sure if what I have in mind is possible.

Can I attach a skinned mesh(driver) to a rigid body(kart)…Because the examples Ive seen of games made with unity had either no driver or the driver had really simple animation. So I am wondering was the kart and driver in a single model?

And finally if it is possible to trigger a ragdoll from a skinned mesh that has no character controller, if not can one attach a character controller to a rigid body, let say if I want the driver to be able to be ejected from the kart upon impact and have him react to the fall with a ragdoll…

Thanks

You would just make the driver a child of the kart.

–Eric

oh yeah thanks, and if I want to make the driver fall, I suppose I’d have to find another way around, or could I script when I want to parent and unparent the driver from the Kart at runtime?

Of course.

–Eric

transform.parent = null; will detach. You can figure the opposite from the docs.

awsome thanks alot guys!