Hello,
Is there a way to find an object's origin (local x,y,z) when its off center, relative to the size of the object? In the following diagram, I want to be able to find the widths of A & B for different objects whose origins dynamically change(they are purposely off center).
|------Object Size X-------|
-----------------|---------- ---
| | | |
| | | |
| A | B | Object Size Y
| | | |
| | | |
| | | |
-----------------|---------- ---
|
origin
(X axis)
Of course I can get the total size of the object [object size x] and I can get the world position of the origin [object position x], but I need to be able to find out the size of the object on each side of its origin. Hope that made sense. Any advice would be appreciated. Thanks.