Comments and answers for "Finding plane perpendicular to an objects velocity"
http://answers.unity.com/questions/868893/finding-plane-perpendicular-to-an-objects-velocity.html
The latest comments and answers for the question "Finding plane perpendicular to an objects velocity"Comment by MasterGalaxy
http://answers.unity.com/comments/869316/view.html
That's exactly what I was looking for! Thank you, I had no idea that Vector3.Cross existed until now. Works perfectly for me, thank you.Mon, 05 Jan 2015 13:44:36 GMTMasterGalaxyAnswer by Scribe
http://answers.unity.com/answers/868905/view.html
given position `p = (pi, pj, pk)` and velocity `v = (vi, vj, vk)`, the equation of your plane is `(vi)x + (vj)y + (vk)z = (pi*vi)+(pj*vj)+(pk*vk)` I believe. However a better method for you might be to use `Vector3.Cross(Vector3.up, velocity)`, this will get a direction that is perpendicular to both those vectors, the problem you might have here is if `velocity` is equal to `Vector3.up`, but you could handle that case separately as it occurs.Sun, 04 Jan 2015 19:53:08 GMTScribe