• Advertisement


This topic is now archived and is closed to further replies.

How to caluculate normal of plane

This topic is 5924 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Plane:lane(Vector3 p0, Vector3 p1, Vector3 p2)
Vector3 edge0 = p1 - p0;
Vector3 edge1 = p2 - p0;

_normal = edge0.cross(edge1);

_signedDistance = -_normal.dot(p0);


Share this post

Link to post
Share on other sites

  • Advertisement