Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,173 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | 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