Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (ozgur, TipmyPip), 722 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
PhysX Movement (RIGID BODY) #450362
04/13/15 11:40
04/13/15 11:40
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
THIS DEMO REQUIRES LATEST VERSION OF GAMESTUDIO A8!

Another day, another contribution grin

I've been working on this one for a while now, and I guess it's pretty good to be shared.
This is pretty advanced movement code, which contains:
Quote:
* two traces, which stops input if we walk towards the wall (this is needed to avoid Z friction issues with RIGID body)
* ladder climbing (almost same as the one from my movement template)
* crawling (with trace checking if we can stand or not)
* jumping (I don't like this one, works great with OBB but causes some bugs depending on fps)
* moving on platforms (which are moving on path)
* sliding doors (made with PH_CHAR, currently open when you walk towards them)
Plus there are some simple JOINT examples in this demo, SEESAW and CHAINS (rope or whatever).

Here is download link.

SOME SCREENS:
Quote:






PLEASE NOTE THAT IN ORDER TO GET VERY STABLE SIMULATION YOU NEED TO TWEAK LOTS OF PARAMETERS! THIS DEMO ONLY GIVES YOU THE BASICS OF THE MOVEMENT, AND COULD BE USED/ADJUSTED UNDER PARTICULAR PROJECT! IF YOU IMPROVE/FIX SOMETHING AND WANT TO SHARE THIS DEMO, YOU ARE WELCOME TO DO SO! ANYTHING (EXCEPT DOOR SOUNDS) CAN BE USED FOR ANY PURPOSE, CREDIT WILL BE GREAT BUT NOT NEEDED. THIS CONTRIBUTION IS SHARED AS IT IS, WITHOUT MY FARTHER SUPPORT AND DEVELOPMENT. USE FOR YOU OWN RISK grin


MY BEST REGARDS!

EDIT: HERE IS A VIDEO TO SHOW YOU HOW IT WORKS.
Reconnoiter@ I know, you'll love that floating mouse pointer in the video tongue


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: PhysX Movement (RIGID BODY) [Re: 3run] #450374
04/13/15 14:05
04/13/15 14:05
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Doors only open once and dont always close, but thats not a big deal.
But The objcets go through each other, and dont collide. They will collide with the Blocks.. but what If someone made a level consisting of models?

Great Contribution 3run! thanks.

EDIT: I cant try the sea-saw or chains because the platform doesnt move frown

Last edited by DLively; 04/13/15 14:07.

A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: PhysX Movement (RIGID BODY) [Re: DLively] #450376
04/13/15 14:09
04/13/15 14:09
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: DLively
Doors only open once and dont always close, but thats not a big deal.
But The objcets go through each other, and dont collide. They will collide with the Blocks.. but what If someone made a level consisting of models?

Great Contribution 3run! thanks.
Those are actully BUGS! And they are probably related to the Acknex ( pXent_setgroup and pX_setgroupcollision ), which version you are currently using? Cause it works perfectly fine for me (you are already second person with the same bugs). I'm uploading video, to show how it works!

Edit: update you Acknex to the latest version! I'm using 8.45.4 and it works for me (everything). Right now I just tested it on the other PC with 8.45.4 and it works there too. About the platform not moving on the path, it's just makes sense, now I'm sure it's related to the older bugs that physX had, but they are all fixed in the latest update.

Last edited by 3run; 04/13/15 14:17. Reason: UPDATE YOU GAMESTUDIO!

Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: PhysX Movement (RIGID BODY) [Re: 3run] #450377
04/13/15 14:20
04/13/15 14:20
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
No. I have the latest Version... The last update was on February 2014. My signature always has my version wink


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: PhysX Movement (RIGID BODY) [Re: DLively] #450382
04/13/15 14:44
04/13/15 14:44
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: DLively
No. I have the latest Version... The last update was on February 2014. My signature always has my version. wink
Are you sure about this? Cause all of your bugs are related to older version of Acknex. BTW you signature just says 8.45, but there are actually bunch of 8.45 wink The previous update (from October I guess?) was 8.45 too, I was using it before, but just now I've downloaded the latest from update from January, and it still works (still 8.45 but it's now written that it's from January). At the end, if those bugs aren't related to the physX plugin .dll, then they are related to physX sdk which you need to update.

BTW, I've edited the first post! Added link to video, in order to show you how it WORKS.


Best regards!

Edit: try to update physX driver, but before that, try to copy this .dll into the root folder of the movement code and run it.

Last edited by 3run; 04/13/15 15:01. Reason: added .dll

Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: PhysX Movement (RIGID BODY) [Re: 3run] #450391
04/13/15 17:06
04/13/15 17:06
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Quote:
Are you sure about this?

No.. I updated it again (I last updated it when I got Pro last year, after February) and now it apparently works, I watched your video, and Im now getting the same results.

Good stuff 3Run laugh Thanks for this awesome contribution!

Where do I see the 8.45.4 ?? My WED version has 8.45 and thats the only place I see it?

Last edited by DLively; 04/13/15 17:07.

A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: PhysX Movement (RIGID BODY) [Re: DLively] #450392
04/13/15 17:56
04/13/15 17:56
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: DLively
Good stuff 3Run laugh Thanks for this awesome contribution!
You are welcome! Nice to hear that you've got it working.
Originally Posted By: DLively
Where do I see the 8.45.4 ?? My WED version has 8.45 and thats the only place I see it?
When you compile anything, you can see your current version on the startup screen:


Best regards


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: PhysX Movement (RIGID BODY) [Re: 3run] #450393
04/13/15 18:23
04/13/15 18:23
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
AH! I already knew that :3
.. I forgot about it ^_^

Wish I'd have checked before updating... I'm sure it was 8.45.4 -- but it is now laugh Thanks again!


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: PhysX Movement (RIGID BODY) [Re: DLively] #450487
04/15/15 19:23
04/15/15 19:23
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Really nice!

the only bad thing is the sliding down at slopes (I guess that's caused by the physics) which should require a maximum walkable angle.


POTATO-MAN saves the day! - Random
Re: PhysX Movement (RIGID BODY) [Re: Kartoffel] #450488
04/15/15 20:32
04/15/15 20:32
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: Kartoffel
the only bad thing is the sliding down at slopes (I guess that's caused by the physics) which should require a maximum walkable angle.
Actually thats caused by bunch of different thing, for example disabled friction so gravity pulls entity down and it slides as is entity was made of ice... Unfortunately such thing as 'max walkable angle' doesn't exist for rigid bodes in physX, it's only supported by cct (as far as I know), and cct in Acknex is horrible (too outdated and has tons of limitations). Maybe if I'll have some spare time I'll think about a workaround for this problem (using traces etc). Thank you for your anyway laugh

best regards


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

Moderated by  adoado, checkbutton, mk_1, Perro 

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