Jump to content

Part coordinates in the editor


Recommended Posts

Anyone know where these are stored? Clearly they are stored somewhere, and written to the .craft file on saving:

PART
{
part = probeCoreOcto2_4293017764
partName = Part
[B]pos = 0.03663391,14.71699,-0.04683471[/B]
...

I've scoured the API but can't seem to find them anywhere. Basically I'm trying to find a way to get the position vector between the two part origins, and having the two positions in global coordinates like in the craft file would let me simply subtract them and find this. Anybody have some insight?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...