|
4 registered members (TipmyPip, qin, alibaba, 1 invisible),
6,248
guests, and 2
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
pXent_getbounds
#383600
09/22/11 13:11
09/22/11 13:11
|
Joined: Sep 2011
Posts: 11
Xyro
OP
Newbie
|
OP
Newbie
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.htmBut 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
Senior Expert
|
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: Xyro]
#383608
09/22/11 14:13
09/22/11 14:13
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
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
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|