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
1 registered members (1 invisible), 692 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Using phent #451143
04/28/15 22:49
04/28/15 22:49
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline OP
Serious User
DLively  Offline OP
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Hi. I'm just looking into some older code for another user. Perhaps someone could tell me how to regain access to phent params (instead of pXent params with ackphysX.h)

Is there an include file I need to add? I looked in the includes folder and didn't find anything smirk

Regards.


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: Using phent [Re: DLively] #451144
04/28/15 23:56
04/28/15 23:56
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
IIRC phent functions was replaced with pXent functions. phent was from the times when the physx plugin was not a part of the engine.

Though i suspect everything would work out of the box just by changing every phent with pxent.


3333333333
Re: Using phent [Re: Quad] #451145
04/29/15 00:24
04/29/15 00:24
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline OP
Serious User
DLively  Offline OP
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
You'd think that, but there are some functions that don't translate over easily.. There are few but they're there.

also, when trying to pass information into them, there are parameters that no longer exist in the pX functions..

phcon_setmotor(0,0,0,0);
..
pXcon_setmotor(0,0,0);

there are also engine vars that don't exist anymore too like turb_speed(default is 1)

Thanks for your time laugh

Last edited by DLively; 04/29/15 00:25.

A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: Using phent [Re: DLively] #451150
04/29/15 07:09
04/29/15 07:09
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: DLively
Hi. I'm just looking into some older code for another user. Perhaps someone could tell me how to regain access to phent params (instead of pXent params with ackphysX.h)

Is there an include file I need to add? I looked in the includes folder and didn't find anything smirk

Regards.
Physics engine has completely changed, ph_ is not there any more!

Take a look at obsolete syntax.


The way old ODE and physX work are completely different! But to make it more convenient to convert older projects into A8 and physX, they use same functions (basic ones). Anyway everything has changed, the values from ODE won't work correctly with physX, even if some of them will get 'working' results by an accident, they may cause troubles when scene will get more complex and will contain some complex simulations.

Best regards


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Using phent [Re: 3run] #451151
04/29/15 07:17
04/29/15 07:17
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline OP
Serious User
DLively  Offline OP
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Yeah I stopped looking into this right after I asked this question and went to the A8 phyisX laugh

Thanks for sharing 3Run!


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com

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