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
2 registered members (AndrewAMD, TipmyPip), 12,420 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
Question with terrain #381080
08/24/11 03:20
08/24/11 03:20
Joined: Sep 2003
Posts: 648
Switzerland
snake67 Offline OP
User
snake67  Offline OP
User

Joined: Sep 2003
Posts: 648
Switzerland
Hi

The player is a PhysX character:
pXent_settype(me, PH_CHAR, PH_CAPSULE);
and is moved by:
pXent_movechar(me, p_move, vector(camera.pan, 0, 0), 0);

terrain is set to:
pXent_settype(me, PH_STATIC, PH_POLY);

all goes well until he tries to walk on terrain. Then he falls through it...

Can someone help me please?

Re: Question with terrain [Re: snake67] #381085
08/24/11 07:02
08/24/11 07:02
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Do you scale terrain in WED? I heard around the forum, that it's scale shouldn't be changed in case to get proper collisions, scale it in MED.
BTW, snake I need some little help and some tips from you, could you PM me or add me via ICQ or Skype, please? Thank you.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Question with terrain [Re: 3run] #381138
08/24/11 15:04
08/24/11 15:04
Joined: Sep 2003
Posts: 648
Switzerland
snake67 Offline OP
User
snake67  Offline OP
User

Joined: Sep 2003
Posts: 648
Switzerland
Hi

Thanks, that could be the reason, will give it a try.

Re: Question with terrain [Re: snake67] #381223
08/25/11 14:46
08/25/11 14:46
Joined: Sep 2003
Posts: 648
Switzerland
snake67 Offline OP
User
snake67  Offline OP
User

Joined: Sep 2003
Posts: 648
Switzerland
It now works. Thanks again. I recognized the position of terrain center to be critical too.

The terrain lightning is really a pritty feature. There seems to be a bug in the mapbuilder, terrain shadow map gets lost if biulding with "update entities"...

Re: Question with terrain [Re: snake67] #381299
08/26/11 07:43
08/26/11 07:43
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
I'm glad I could help laugh


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

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