The Cube cordinates
The Cube cordinates
Can I get the cube corner cordinates, when cube is done with CreateCube()
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: The Cube cordinates
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?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: The Cube cordinates
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".
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".
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: The Cube cordinates
EntityBoundingBox should give enough info to derive the corner coordinates - you do have to do somethings yourself 
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: The Cube cordinates
Look at ConvertLocalToWorldPosition.pb exampleRealizimo wrote:Can I get the cube corner cordinates, when cube is done with CreateCube()
Please correct my english
http://purebasic.developpez.com/
http://purebasic.developpez.com/

