Added setPos and setVel to entity