Thank you for providing the method to read skeletal mesh renderdata.I have solved it.
- For skelemesh need convert impact
point and impact normal from world
space to ref pose’s local space. - Then, create line segment by
converted impact point and converted
impact normal. - Then, use the line segment to get
Intersection with triangle in
skeletal mesh. PS:the target
triangle can get intersection - At Last,use the intersection to get
UV from the target triangle. It is
workable but the efficiency may need
to be optimized.
also:
-
For skelemesh need convert impact
point and impact normal from world
space to ref pose’s local space. -
Then, create line segment by
converted impact point and converted
impact normal. -
Use the line segment linetrace
staticmesh which is build from
skeletal mesh,but by this way the
line segment need convert to
component space. -
Find UV from the hitresult.
