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
2 registered members (AndrewAMD, TipmyPip), 12,400 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
cant get collision boxes right #326471
06/01/10 10:08
06/01/10 10:08
Joined: Oct 2008
Posts: 67
pewpew Offline OP
Junior Member
pewpew  Offline OP
Junior Member

Joined: Oct 2008
Posts: 67
Hey
for some reason, i cant seem to get the collision hulls right?



there is a script called level.c that has all the level functions in it. when i place the blocks, i give them functions from the script that simply:

set(me, POLY);

for complex stuff like bridges, or

c_setminmax(me);

for simply platforms. Neither of them seem to move the bounding boxes at all?


HURRR DERP DERP DEERRPP HURR
Re: cant get collision boxes right [Re: pewpew] #326473
06/01/10 10:13
06/01/10 10:13
Joined: Apr 2010
Posts: 265
V
Vinous_Beret Offline
Member
Vinous_Beret  Offline
Member
V

Joined: Apr 2010
Posts: 265
Quote:
for simply platforms. Neither of them seem to move the bounding boxes at all?

are you using animated platforms?or moving them directly with code?.

Re: cant get collision boxes right [Re: Vinous_Beret] #326642
06/02/10 00:42
06/02/10 00:42
Joined: Oct 2008
Posts: 67
pewpew Offline OP
Junior Member
pewpew  Offline OP
Junior Member

Joined: Oct 2008
Posts: 67
nah no animated platforms.
I want the bounding box of the platforms to cover the polygons instead of just a square box. I assumed set(me, POLYGON) does that, but it doesnt seem to work?

edit: sorry guys it does seem to work. my code was just a bit buggy!

Last edited by pewpew; 06/02/10 07:55.

HURRR DERP DERP DEERRPP HURR

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