Changing min_xyz and max_xyz have no effect

Posted By: The_Clyde

Changing min_xyz and max_xyz have no effect - 08/10/10 20:07

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?
Posted By: TerraSame

Re: Changing min_xyz and max_xyz have no effect - 08/10/10 21:55

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
Posted By: TerraSame

Re: Changing min_xyz and max_xyz have no effect - 08/10/10 22:02

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...
Posted By: The_Clyde

Re: Changing min_xyz and max_xyz have no effect - 08/11/10 13:29

It turned out it was just the FAT and NARROW flags.... whoops!
Posted By: TerraSame

Re: Changing min_xyz and max_xyz have no effect - 08/11/10 14:30

So it works ok now???
Great...
© 2024 lite-C Forums