Page 1 of 1
The Cube cordinates
Posted: Sun Nov 25, 2012 5:49 pm
by Realizimo
Can I get the cube corner cordinates, when cube is done with CreateCube()
Re: The Cube cordinates
Posted: Sun Nov 25, 2012 10:36 pm
by IdeasVacuum
Well, since you are creating it, you should 'know' what the ordinates will be. If the cube gets moved and you don't want to track it, then how about using EntityBoundingBox() to get the corners?
Re: The Cube cordinates
Posted: Mon Nov 26, 2012 4:35 pm
by Realizimo
Sorry, but I dont get the xyz cordinates for each corner with EntityBoundingBox or ?
I'm thinking about the EntityBoneX/Y/Z rutin , but I don't get the "bone name" for CreateCube. any suggestions about the "bone name".
Re: The Cube cordinates
Posted: Mon Nov 26, 2012 5:41 pm
by IdeasVacuum
EntityBoundingBox should give enough info to derive the corner coordinates - you do have to do somethings yourself

Re: The Cube cordinates
Posted: Mon Dec 24, 2012 10:24 am
by Comtois
Realizimo wrote:Can I get the cube corner cordinates, when cube is done with CreateCube()
Look at ConvertLocalToWorldPosition.pb example