Hi,
I need to get the mesh that causes a collision for AdvancedCollision but I can only get it to return a TV_COLLISIONRESULT but I would need a TVCollisionResult.
The COLLISIONRESULT only have iMeshID
but the TVCollisionResult GetCollisionMesh and more.
What I need from the mesh id the .GetUserData and .GetTag cause it is there I have stored some important values.
I will use these values to retrieve four vectors that indicate a buildings four corner to reposition a units given path so that it won't go right trough the building. It will use the corners to make the waypoints the unit use to move around with so that it moves around the building.
I think I got the logic right but I can't get the collision to work.