1 registered members (1 invisible),
692
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Using phent
#451143
04/28/15 22:49
04/28/15 22:49
|
Joined: Apr 2005
Posts: 1,988 Canadian, Eh
DLively
OP
Serious User
|
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 Regards.
|
|
|
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
Senior Expert
|
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
OP
Serious User
|
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
Last edited by DLively; 04/29/15 00:25.
|
|
|
Re: Using phent
[Re: DLively]
#451150
04/29/15 07:09
04/29/15 07:09
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
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 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
|
|
|
|