So here is my question - if I have a point in 3-D space and with that a radius and a degree, how do I use this information to find the position vector at the location.
I have a player in 3D space and I just want to find some of the position data around him for a game mechanic.
Thanks everyone
Finding point on edge of circle in 3-D space
Started by PoliticalChaos, Sep 10 2012 08:27 AM
2 replies to this topic
Ad:
#2 Members - Reputation: 1588
Posted 10 September 2012 - 09:08 AM
Here's how I do it in MathGeoLib: Circle::GetPoint. If you have requirements on what direction the angle of 0 degrees corresponds to, you'll have to be more precise how you define the directions BasisU and BasisV in that codepath.
Me+PC=clb.demon.fi | C++ Math and Geometry library: MathGeoLib, test it live! | C++ Game Networking: kNet | 2D Bin Packing: RectangleBinPack | Use gcc/clang/emcc from VS: vs-tool | Resume+Portfolio | gfxapi, test it live!






