Use the "mypos" vector instead of creating another in realtime