Download

Line Trace - detect angle of mesh.

Hi

How would I detect if a line trace hit a wall, roof or floor or any surface and get World Angle?

Example = Wall would return 90/0/0 or 90/180/0

Narg

Easy, in your break hit result, drag off from the ‘normal’ node. If you hit the left side, normal should be a -1x, 0y, 0z. If you hit top, normal should be 0x, +1y, 0z… and so on… I’m not sure about irregular angles, but give it a try.

Cheers Jamendxman3

Will Do

Narg