tmyke Hello! Could you add such function as DM_PickedSurface()? Please, this function is very necessary for system of materials (glass, wood, concrete in FPS) PS By the way - functions DM_PickedU(V) causes linked error :(
POLINK: error: Unresolved external symbol '_DM_PickedU' POLINK: error ...
U/V is Barycentric hit coordinates (not texture coordinate), compared to the selected Face the Entity. With this parameters, you can find the position Pick in the Entity.
With U/V i find the position 'Pick' to X and Y coord's and with DM_PickedDistance i find Z coord's? Ex:
instruction add like DM_PickedU() and DM_PickedV() ?
Get of texture coord's? It would be cool!
But
DM_MeshPickedX()
DM_MeshPickedY()
DM_MeshPickedZ()
add like too.
For example - position the particle emiter for various effects (blood, sparks and etc)