Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/21/26 19:15
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (alibaba, TipmyPip, Quad), 6,207 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 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 Online
Senior Expert
Quad  Online
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 Online
Senior Expert
Quad  Online
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