public AnimationManipulatorState createMandibleState() { AnimationManipulatorState state = new AnimationManipulatorState(); foreach (SimElement element in Owner.getElementIter()) { AnimationManipulator manipulator = element as AnimationManipulator; if (manipulator != null) { state.addPosition(manipulator.createStateEntry()); } } return(state); }