Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, TipmyPip, VoroneTZ, Quad, 1 invisible), 688 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
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,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
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 | chip programmers | 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