We all pretty much know how to use angle() so a shot can be aimed from one object to the angle of another, but how do you throw the Z coordinate into the mix if you're doing a first person game? Like the 3D platformer example.
The specific formula I ended up with is
atan((Target.ZElevation - Self.ZElevation) / distance(Self.X, Self.Y, Target.X, Target.Y))