• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

Search results

  1. M

    calculating position with given params

    You are along the right line, but probably missing some details. There's lots of game programming math resources on line that should give you the exact formulas. Basically dx = dist*sin(phi)*cos(theta) dy = dist*sin(phi)*sin(theta) dz = dist*cos(phi)
Top