Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by k_ivan. 06/10/26 14:39
Z9 getting Error 058
by k_ivan. 06/10/26 14:38
ZorroGPT
by TipmyPip. 06/10/26 13:07
Z12 live performance
by alx. 06/09/26 20:42
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Quad, Student_64151), 5,249 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Changing min_xyz and max_xyz have no effect #337424
08/10/10 20:07
08/10/10 20:07
Joined: Jul 2008
Posts: 223
Pittsburgh
The_Clyde Offline OP
Member
The_Clyde  Offline OP
Member

Joined: Jul 2008
Posts: 223
Pittsburgh
My player character is able to enter tunnels that he is too tall for. I've tried changing min_x/y/z and max_x/y/z but these have absolutely no effect. I've even tried the POLYGON flag but still no change...

Is there something I'm missing?

Re: Changing min_xyz and max_xyz have no effect [Re: The_Clyde] #337447
08/10/10 21:55
08/10/10 21:55
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
Which version are you using ?

Do you have enable_polycollision set at 2 ?

Use:
var enable_polycollision = 2; //(Put above, around your include statements.)
or
enable_polycollision = 2; //(Put in the Main just before level loading.)

Then your polygon flag assignments should work...
And your collision hull sizes should be adjustable...
Let us know if that works!
laugh

Re: Changing min_xyz and max_xyz have no effect [Re: TerraSame] #337448
08/10/10 22:02
08/10/10 22:02
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
Another thing...

How are you coding the xyz size...?

Like this???


wait(1);
vec_set(PLAYER.max_x, vector(1, 2, 3));
vec_set(PLAYER.min_x, vector(-1, -2, -3));

If not...
Try it...
And change the 1's for width
And change the 2's for depth
And change the 3's for height

How that helps...

Re: Changing min_xyz and max_xyz have no effect [Re: TerraSame] #337531
08/11/10 13:29
08/11/10 13:29
Joined: Jul 2008
Posts: 223
Pittsburgh
The_Clyde Offline OP
Member
The_Clyde  Offline OP
Member

Joined: Jul 2008
Posts: 223
Pittsburgh
It turned out it was just the FAT and NARROW flags.... whoops!

Re: Changing min_xyz and max_xyz have no effect [Re: The_Clyde] #337533
08/11/10 14:30
08/11/10 14:30
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
So it works ok now???
Great...


Moderated by  HeelX, Spirit 

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