Composite Actor

This link:

panda3d.org/manual/index.php/Multi-Part_Actors

…is very interesting. However, I can’t seem to find a corresponding ‘dettach’ method in the Actor API. So after attaching two models together, how do you go about replacing one of the attached parts?

You can probably see how it works in this example:
panda3d.org/manual/index.php/Sampl … d_Gripping

Uhm… Laurens, that sample program does not use multi-part actors, but a controlled joint system.

maybe it’s removePart (from http://panda3d.org/apiref.php?page=Actor) i have no idea, but i’d try it out… else try all commands that looks reasonable in actor…

Oops :blush: . Thanks for pointing that out pro-rsoft!

The python documentation of removePart suggests that this is indeed what you are looking for: