public void update() { CalfL.setPosition(ThighL.getEnd()); CalfR.setPosition(ThighR.getEnd()); ForeArmL.setPosition(BicepL.getEnd()); ForeArmR.setPosition(BicepR.getEnd()); }
public void Draw(SpriteBatch spriteBatch) { ThighL.Draw(spriteBatch); ThighR.Draw(spriteBatch); CalfL.Draw(spriteBatch); CalfR.Draw(spriteBatch); BicepL.Draw(spriteBatch); BicepR.Draw(spriteBatch); ForeArmL.Draw(spriteBatch); ForeArmR.Draw(spriteBatch); spriteBatch.Draw(stick, spine, Color.White); }
public void DisconnectFromRigidbody() { Root.DisconnectFromRigidbody(); Chest.DisconnectFromRigidbody(); Head.DisconnectFromRigidbody(); ThighL.DisconnectFromRigidbody(); ThighR.DisconnectFromRigidbody(); ShinL.DisconnectFromRigidbody(); ShinR.DisconnectFromRigidbody(); FootL.DisconnectFromRigidbody(); FootR.DisconnectFromRigidbody(); ShoulderL.DisconnectFromRigidbody(); ShoulderR.DisconnectFromRigidbody(); UpperArmL.DisconnectFromRigidbody(); UpperArmR.DisconnectFromRigidbody(); ForearmL.DisconnectFromRigidbody(); ForearmR.DisconnectFromRigidbody(); HandL.DisconnectFromRigidbody(); HandR.DisconnectFromRigidbody(); }
public void incThighR() { ThighR.rotateCloc(); }
public void decThighR() { ThighR.rotateCounterCloc(); }