How do I go from world space to screen space?

After looking through some code in the engine as well as some code online I was able to figure out what I was doing wrong.

Here’s my current code. http://pastebin.com/raw.php?i=zVzvRw85

The performance improvement of manually multiplying the viewprojection matrix by the world position is most likely negligible, so you may want to use the TransformFVector4 method instead, as its much easier to read.

TransformFVector4 method: http://pastebin.com/raw.php?i=eFRgwqyv