Can't really seem to figure out how to get an Polygon's global position..
I thought self.PolygonPosition would return it but it seems to be a constant value that doesn't change as the object moves..
As a last resort, I tried using a temp buffer set to self.PolygonPosition x self.kine.global.scl + grid.kine.global.pos which seems to give me what I want, but I'm not sure how to deal with the rotation mathematically..
There's gotta be an easier way to get this data, seeing as how my way only deals with global transforms..?
Global Point/Poly positions?
-
xowgax
- Posts: 18
- Joined: 29 Aug 2009, 20:22
Global Point/Poly positions?
You do not have the required permissions to view the files attached to this post.
-
Hirazi Blue
- Administrator
- Posts: 5113
- Joined: 04 Jun 2009, 10:15
Re: Global Point/Poly positions?
The last topic on this page in the User's Guide offers a way to convert local to global.
Not sure if that applies to polygons also...
;)
Not sure if that applies to polygons also...
;)
Stay safe, sane & healthy!
-
xowgax
- Posts: 18
- Joined: 29 Aug 2009, 20:22
Re: Global Point/Poly positions?
It works! Thanks a bunch.
(Not liking the new help stuff, the 'search' always freezes up on me!)
(Not liking the new help stuff, the 'search' always freezes up on me!)
-
origin
- Posts: 619
- Joined: 09 Jun 2009, 09:59
- Location: warsaw
Re: Global Point/Poly positions?
If you're using chrome, search won't work (im using IE tab extensions just for this one page)xowgax wrote:It works! Thanks a bunch.
(Not liking the new help stuff, the 'search' always freezes up on me!)
-
Hirazi Blue
- Administrator
- Posts: 5113
- Joined: 04 Jun 2009, 10:15
Re: Global Point/Poly positions?
I mentioned this Google Chrome trouble back in April at Stephen Blair's Support Blog (here), but apart from Stephen Blair's acknowledgement that you really shouldn't use Chrome with the online documentation nothing much seems to have happened. They could've at least mentioned it here.
But, ah, well...
But, ah, well...
Stay safe, sane & healthy!
-
xsisupport
- Posts: 713
- Joined: 09 Jun 2009, 09:02
- Location: Montreal Canada
Re: Global Point/Poly positions?
I later learned that Chrome is not a supported browser for the online help.
It looks like a problem with the scripts used by the Search and Index tabs, and happens on with local help. The Javascript console is full of errors when you load one of those tabs.
It looks like a problem with the scripts used by the Search and Index tabs, and happens on with local help. The Javascript console is full of errors when you load one of those tabs.
-
Hirazi Blue
- Administrator
- Posts: 5113
- Joined: 04 Jun 2009, 10:15
Re: Global Point/Poly positions?
Yes, but my point was this: the fact that it is not supported, should be mentioned better/more clearly/in more places...
But I used the verb "seems" (in "nothing much seems to have happened") in my previous post for a clear reason: it might well be it's been mentioned in numerous official places and I just have missed it...
It would for instance be nice to mention it here (mentioned above) or here.
;)
But I used the verb "seems" (in "nothing much seems to have happened") in my previous post for a clear reason: it might well be it's been mentioned in numerous official places and I just have missed it...
It would for instance be nice to mention it here (mentioned above) or here.
;)
Stay safe, sane & healthy!
-
iamVFX
- Posts: 697
- Joined: 24 Sep 2010, 16:28
Re: Global Point/Poly positions?
Search works! ... For one word and one time per tab 
-
iamVFX
- Posts: 697
- Joined: 24 Sep 2010, 16:28
Re: Global Point/Poly positions?
Oh my, I can't believe it, but it's seems to be fixed 
-
origin
- Posts: 619
- Joined: 09 Jun 2009, 09:59
- Location: warsaw
Re: Global Point/Poly positions?
-
iamVFX
- Posts: 697
- Joined: 24 Sep 2010, 16:28
Re: Global Point/Poly positions?
Google Chrome 19 is came out and search is now working ... again!