06-20-2014, 05:45 PM
m_Attachee->GetLookVector() returns a unit vector (vector of length 1), when you add that to the position, it will only very rarely point to any other block than the position itself. Try multiplying the look vector by, say, 10. And you should probably search down for the nearest ground from there, don't want to send the pig trying to fly