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
3 registered members (AndrewAMD, TipmyPip, OptimusPrime), 15,359 guests, and 7 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
terrain is passable #169329
11/25/07 12:15
11/25/07 12:15
Joined: Sep 2007
Posts: 80
R
ruchen Offline OP
Junior Member
ruchen  Offline OP
Junior Member
R

Joined: Sep 2007
Posts: 80
In my level,the terrain is passable,something that is moving can move to where is under the terrain,how can I set its properties?

Re: terrain is passable [Re: ruchen] #169330
11/27/07 02:46
11/27/07 02:46
Joined: Apr 2006
Posts: 624
DEEP 13
badapple Offline
User
badapple  Offline
User

Joined: Apr 2006
Posts: 624
DEEP 13
in wed highlight your terrian and right click goto properties

or write an action for terrian and declare its passable flag off through script

Re: terrain is passable [Re: badapple] #169331
11/27/07 03:45
11/27/07 03:45
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
Is the Polygone Flag activated?

cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: terrain is passable [Re: rvL_eXile] #169332
11/27/07 05:51
11/27/07 05:51
Joined: Sep 2007
Posts: 80
R
ruchen Offline OP
Junior Member
ruchen  Offline OP
Junior Member
R

Joined: Sep 2007
Posts: 80
The Polygone Flag is not activated,and if I activate it ,the model can aslo go to the place that under the terrain.

Re: terrain is passable [Re: ruchen] #169333
11/27/07 07:18
11/27/07 07:18
Joined: Aug 2005
Posts: 312
Sweden
tindust Offline
Senior Member
tindust  Offline
Senior Member

Joined: Aug 2005
Posts: 312
Sweden
Did you change the terrain mesh?
After giving your terrain an action as suggested by badapple, make sure that the mesh is updated after any deformation has been done to it. Include the following code in your action script:

my.passable = off; // in case it's off
my.polygon = on; // in case it's off
c_updatehull(my,0); // updates the hull for all frames

also, make sure the players model is not passable
hope this helps,
cheers

Re: terrain is passable [Re: tindust] #169334
11/27/07 15:43
11/27/07 15:43
Joined: Jan 2006
Posts: 968
EpsiloN Offline
User
EpsiloN  Offline
User

Joined: Jan 2006
Posts: 968
Also , make shure the 'origin' of your model isnt below its feet , and try placing your player high above the terrain (atleast 500 quants).
And , if your player model is too small compared to your terrain and you're using polygon for the terrain , your player sometimes could fall between polygons of the terrain.


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201
Re: terrain is passable [Re: EpsiloN] #169335
02/01/08 12:54
02/01/08 12:54
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
next to update_hull, (if you actively manipulate the terrain)

try the following trick:

Move one vertex of the terrain in MED really high, and another one really low.

This way the hight precision in calculation is better.


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