Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
4 registered members (AndrewAMD, Quad, soulman3, Ayumi), 675 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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 | 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