}
if (inputState.getBackward()) {
offset = offset.add(ts.forwardVector().mul(speed * dt));
}
if (inputState.getLeft()) {
offset = offset.sub(ts.rightVector().mul(speed * dt));
}
if (inputState.getRight()) {
offset = offset.add(ts.rightVector().mul(speed * dt));
}
if (inputState.getJump()) {