0 registered members (),
1,397
guests, and 7
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
PH_CHAR
#396747
03/09/12 23:57
03/09/12 23:57
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
I've made movement with PH_CHAR, it works good for me, but I have two question, answers for which I couldn't find myself... FIRST QUESTION:How do I change BBOX for the PH_CHAR run-time, I want to make crawling, but there is no way to make it as with usual "c_move" as I used to do before, I've seen how painkiller where switching collusion bodies, but that was for PH_RIGID, and it doesn't work for me with PH_CHAR. SECOND QUESTION:How do I adjust friction parameter for PH_CHAR? pXent_setfriction(my, 0); didn't help!
|
|
|
Re: PH_CHAR
[Re: 3run]
#396763
03/10/12 12:31
03/10/12 12:31
|
Joined: Aug 2009
Posts: 1,438 Spain
painkiller
Serious User
|
Serious User
Joined: Aug 2009
Posts: 1,438
Spain
|
Why my solution doesn't work for you? Have two invisible entities, one with the standing BBOX and other one with the crawling BBOX, then enable/disable them from physX depending if player is crawling or not, and attach you player model to them
Last edited by painkiller; 03/10/12 12:32.
3D Gamestudio A8 Pro AMD FX 8350 4.00 Ghz 16GB RAM Gigabyte GeForce GTX 960 4GB
|
|
|
Re: PH_CHAR
[Re: 3run]
#397181
03/16/12 09:17
03/16/12 09:17
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
ANY ONE??? How do I adjust friction parameter for PH_CHAR? pXent_setfriction(my, 0); didn't help!
|
|
|
Re: PH_CHAR
[Re: 3run]
#397187
03/16/12 11:07
03/16/12 11:07
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
User
|
User
Joined: Mar 2012
Posts: 927
cyberspace
|
Not try to crawl before but when im using phrigid for type and pxent_rotate(ent,null,vector(0,0,90)) it seems possible execpt the animation gonna have to been done vertical
Compulsive compiler
|
|
|
Re: PH_CHAR
[Re: 3run]
#397336
03/17/12 20:25
03/17/12 20:25
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
User
|
User
Joined: Mar 2012
Posts: 927
cyberspace
|
Not so familiar with gamestudio yet but maby the setmaterial func where you could specify more dynamics would be worth a try ,asuming that setmass or setdamping makes no difference...
Compulsive compiler
|
|
|
|