Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,632 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
My map entity is passable #157090
09/26/07 19:17
09/26/07 19:17
Joined: Aug 2007
Posts: 26
S
SteveA Offline OP
Newbie
SteveA  Offline OP
Newbie
S

Joined: Aug 2007
Posts: 26
I've seen other posts regarding this, but I haven't found a solution.

I created a very simple door (four bars) in WED and built it. The "passable" property flags were unchecked for the four bars.

In my level, I used "Add map entity" to add the object. In the object's Properties, I made sure Passable was unchecked. I also tried checking only BBox, only Polygon, and both BBox and Polygon.

No matter what I do, my model entity passes through the door. The model does not pass through other objects (e.g., boxes, cylinders, model, etc) on the level, just the objects added with "Add map entity".

Ideas?

Thanks!

Re: My map entity is passable [Re: SteveA] #157091
09/27/07 06:35
09/27/07 06:35
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline

.
Nems  Offline

.

Joined: Mar 2003
Posts: 4,264
Wellington
Maybe give a little script to the object to ensure the polygon flag is switched on may be, it worked for me with tricky entities but may not for many others.

action poly
{
my.polygon = on;
}

Re: My map entity is passable [Re: Nems] #157092
09/27/07 08:05
09/27/07 08:05
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
maby use this

action poly
{
my.polygon = on;
c_updatehull(my,1);
}


"empty"
Re: My map entity is passable [Re: flits] #157093
09/28/07 04:49
09/28/07 04:49
Joined: Aug 2007
Posts: 26
S
SteveA Offline OP
Newbie
SteveA  Offline OP
Newbie
S

Joined: Aug 2007
Posts: 26
Thanks for the ideas, but no luck. I also tried setting my.push to a higher number (my moving model has a push value of 0). This function does work if I call it from a static model. But when I call it from the static map entity, my model still walks through it. Any other ideas? Thanks!

action PolyOn()
{
set(my, POLYGON );
wait(1);
c_updatehull(my,1);
my.push = 999;
}

Re: My map entity is passable [Re: SteveA] #157094
09/28/07 08:07
09/28/07 08:07
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline

.
Nems  Offline

.

Joined: Mar 2003
Posts: 4,264
Wellington
Where exactly is the entity's origin?


Moderated by  HeelX, rvL_eXile 

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