// Methods for/from SuperClass/Interfaces
// ===========================================================
@Override
public void onUpdate(final float pSecondsElapsed) {
final IShape shape = this.mShape;
final Body body = this.mBody;
if(this.mUpdatePosition) {
final Vector2 position = body.getPosition();
final float pixelToMeterRatio = this.mPixelToMeterRatio;
shape.setPosition(position.x * pixelToMeterRatio - this.mShapeHalfBaseWidth, position.y * pixelToMeterRatio - this.mShapeHalfBaseHeight);
}
if(this.mUpdateRotation) {
final float angle = body.getAngle();
shape.setRotation(MathUtils.radToDeg(angle));
}
}