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 enter image description here

*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.

enter image description here

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

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -