Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 6,718 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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