Gamestudio Links
Zorro Links
Newest Posts
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
Zorro version 3.0 prerelease!
by TipmyPip. 02/24/26 17:09
ZorroGPT
by TipmyPip. 02/23/26 21:52
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (Martin_HH, TipmyPip, AndrewAMD, Grant), 5,825 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Collision hull [Re: vlau] #158444
10/03/07 15:35
10/03/07 15:35
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline OP

Programmer
Lukas  Offline OP

Programmer

Joined: May 2007
Posts: 2,043
Germany
set(my,POLYGON) is the same as my.eflags |= POLYGON and I tried it already but it doesn't work.
However I splited the model into three cuboid-shaped models and now it works. But it's strange that i can't make a collision hull that corresponds the real hull of my model...

Re: Collision hull [Re: Lukas] #158445
10/03/07 15:49
10/03/07 15:49
Joined: Aug 2005
Posts: 390
Florida
O
oldschoolj Offline
Senior Member
oldschoolj  Offline
Senior Member
O

Joined: Aug 2005
Posts: 390
Florida
did you try not including narrow and fat, and just going:

my.eflags .. POLYGON
wait (1);
c_update....


you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly
Re: Collision hull [Re: oldschoolj] #158446
10/03/07 15:56
10/03/07 15:56
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
While you set(my,POLYGON), you should omit
the FAT and NARROW flag, then run the level
and press F11 twice, if you don't see a
bounding box (blue color) surrounding your model
then you're done correctly.

Re: Collision hull [Re: vlau] #158447
10/03/07 16:00
10/03/07 16:00
Joined: Aug 2005
Posts: 390
Florida
O
oldschoolj Offline
Senior Member
oldschoolj  Offline
Senior Member
O

Joined: Aug 2005
Posts: 390
Florida
I agree, it works just like that for me as well. I use polygon flag on alot of things.


you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly
Re: Collision hull [Re: oldschoolj] #158448
10/03/07 18:34
10/03/07 18:34
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline OP

Programmer
Lukas  Offline OP

Programmer

Joined: May 2007
Posts: 2,043
Germany
Yes I tried not including FAT and NARROW and it didn't work.
But I just tried writing
my.flags |= POLYGON;
instead of
my.eflags |= POLYGON;

That's my action now:
Code:
action Drehkreuz()
{
wait(1);
my.flags |= POLYGON;
c_setminmax(me);
}


When using FAT or NARROW It must be "eflags" but when using POLYGON it must be "flags". Now it works without having to split the model

@vlau
Quote:

if you don't see a
bounding box (blue color) surrounding your model
then you're done correctly.



Actually I see a blue box surrounding my model, but it works.


Re: Collision hull [Re: Lukas] #158449
10/03/07 19:05
10/03/07 19:05
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Actually, you don't need the c_setminmax(me)

Re: Collision hull [Re: vlau] #158450
10/03/07 19:15
10/03/07 19:15
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline OP

Programmer
Lukas  Offline OP

Programmer

Joined: May 2007
Posts: 2,043
Germany
Quote:

Actually, you don't need the c_setminmax(me)



Ok
But after removing the c_setminmax(me) I still see a blue box but it's smaller now.

Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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