Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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 | chip programmers | 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