Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,791 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
pXent_getbounds #383600
09/22/11 13:11
09/22/11 13:11
Joined: Sep 2011
Posts: 11
X
Xyro Offline OP
Newbie
Xyro  Offline OP
Newbie
X

Joined: Sep 2011
Posts: 11
Can anyone explain me how this function works and what it returns, because I looked it up here : http://www.conitec.net/beta/pXent_getbounds.htm

But they don't explain the format the bounds are returned in.

Re: pXent_getbounds [Re: Xyro] #383604
09/22/11 13:28
09/22/11 13:28
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
it returns 1 if successful, 0 otherwise.

The manual page says it sets the vecOut to dimensions of the bounding box.


3333333333
Re: pXent_getbounds [Re: Quad] #383606
09/22/11 14:06
09/22/11 14:06
Joined: Sep 2011
Posts: 11
X
Xyro Offline OP
Newbie
Xyro  Offline OP
Newbie
X

Joined: Sep 2011
Posts: 11
yea but what format is vecOut, a vector with the width, height en depth of a object or 2 vectors describing the bounding box ?

Re: pXent_getbounds [Re: Xyro] #383608
09/22/11 14:13
09/22/11 14:13
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
vector is probably in VECTOR format. a single vector with width, depth and height.

you can then use model's orientation to figure out where the actual box is.


3333333333

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1