Change Vehicle Moving Axis

I would like to make my vehicle drive up (just move along z axis), without rotating it. By default, if I program the vehicle to drive to a point above it, it rotates so that it points with the x axis towards the point. I don’t want that, I want it to just ‘float’ towards the point (which is at the same x and y as the vehicle, only z is different). I know that the vehicle always drives along its X axis; is it possible to change it so that it drives along Z?
I considered using OffsetMatrix for this, but I get an error when I try to use it, as if it doesn’t exist. It says:
NameError: Attribute or method ‘OffsetMatrix’ not found.