Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 08/22/26 08:44
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
Pause button for evaluation shell?
by AndrewAMD. 08/13/26 17:16
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/10/26 12:46
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
Accepting new programming clients
by AndrewAMD. 08/06/26 21:25
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 2,597 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19230 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