c# - A point in 3D space from an angle -


i'm working on camera game. got stuck @ rotation.

when move mouse across x- or y-axis, want camera rotate around character.

what formula calculate vector, if distance character same?

i doing in unity, c#, if of help.

this function may help: transform.rotatearound(vector3 axis, float degree) can read unity script reference more info.

-oh , think should tag next questions "unity3d" best unity3d-help @ unityanswers-forum http://answers.unity3d.com/index.html.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -