Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/20/26 18:18
Ranger by Robert Pardo - now for Zorro
by Smallz. 06/20/26 11:23
Z12 live performance
by jcl. 06/19/26 11:21
Z9 getting Error 058
by jcl. 06/16/26 09:51
How to select between IB accounts by script?
by AndrewAMD. 06/13/26 15:44
Zorro tutorial ideas?
by AndrewAMD. 06/13/26 15:01
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Quad), 8,950 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 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