Trying to track down a bug with 3d velocity defs