I was thinking about hiring him again to do the dll part, but yeah, it took him too much time.
Here is the work he did, I'd like a judgement on efficiency.
There are:
1) a function to measure the distance from a 3d segment to a 3d planar convex, and return the closest points if there is no intersection
2) a function to return the z value of a x-y point of the convex
I could open a new job so you can participate. Here are my needs
- function 1) should return only one thing, a number representing
-- if there is an intersection, the distance from the first point of the segment to the intersection point
-- if there isn't, the distance from the first point of the segment and closest point of the convex polygon
- a function to measure the distance between 2 segments, which returns a number representing
-- if there is an intersection, the distance from the first point of the first segment to the intersection point
-- if there isn't, the distance from the first point of the first segment and the closest point of the second segment
- a function that, given a 3d point and a 3d planar convex, returns
-- if the point is above the convex or part of it, the distance from the convex
-- if the point is under the convex and not part of it, the distance from the convex as a negative value
- a function that, given a 3d point and a 3d planar convex, returns the x-y direction to take to get away from the convex as fast as possible
- take all the above functions and make a Game Maker compatible dll out of it (it has to return doubles)
- a GML function that, given the first point of a segment and a distance, returns the point of the segment with that distance from the first point
It's a lot of things, and I don't have much money nor a lot of time, but I hope we can make a deal.