Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

[Request] Grid Bounding box in World Coordinates and facing

Discussion in 'Programming Questions and Suggestions' started by Wicorel, Dec 20, 2016.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. Wicorel Senior Engineer

    Messages:
    1,262
    I need to get the grid's bounding box in world coordinates. Somebody probably already has that code somewhere..
    I kinda know how to get the BB coordinates.. But maybe not efficiently..

    And then I need to know the relative facing of that box (to a TerminalBlock/Cockpit).

    So I want to be able to get the four coordinates for the 'front' of the ship. And also the 'left', etc..


    So function returning a list of four Vector3D when given an orientation block and a desired facing would be what I think I need. (maybe I need to pass the grid?)

    Can anybody help with this?
     
Thread Status:
This last post in this thread was made more than 31 days old.