Unity3d perpendicular vector3 -
i trying perpendicular vector3 vector3. know how can that? maybe rotate vector3 90 degrees or somthing, there vector3 function can that?
*edit
this want, want bottom part of object facing surface(or single point) how can achieve that? tried quaternion.lookrotation , transform.lookat both use forward vector of object. know can define world vector in functions problem don't have one.
this perpendicular vector in 3d space not unique. however, given vector, can obtain new vector perpendicular both of them.
vector3 v1; vector3 v2; vector3 v3 = vector3.cross(v1, v2);
Comments
Post a Comment