davidhodo/morse — comment on commit 53c25db340d5609538a34c37f6be527c6156ce13
File:  line 0
By gilecheverria:

Cool! I have tried this method of unparenting the wheels and it works.
So I think the best would be to include those lines in a special class in the builder, I propose adding this to the builder:

class WheeledRobot(Robot):
def __init__(self, name):
Robot.__init__(self, name)
self.unparent_wheels()
def unparent_wheels (self):
children = self._blendobj.children
wheels = [child for child in children if "heel" in child.name]
for wheel in wheels:
wheel.parent = None

This should do the trick, and makes for cleaner building.