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
Post a Comment