Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, ChrstphFr), 941 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
PH_CHAR #396747
03/09/12 23:57
03/09/12 23:57
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline 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:
Quote:
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:
Quote:
How do I adjust friction parameter for PH_CHAR?
pXent_setfriction(my, 0);
didn't help!



Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: PH_CHAR [Re: 3run] #396753
03/10/12 08:41
03/10/12 08:41
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Oh man.
Why you use PhysX for your movement?
Use c_move and c_trace and move a passable physx body with your player.
This also do its job when you want to kick rigid_bodys.

Re: PH_CHAR [Re: Ch40zzC0d3r] #396755
03/10/12 08:44
03/10/12 08: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
I don't want to kick rigid bodies, I need proper collusions, without that ellipsoid bullshit, and I've archived them.
All I need to implement is crawling now. Other stuff works smooth and perfect, at least for my needs (fps).


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: PH_CHAR [Re: 3run] #396763
03/10/12 12:31
03/10/12 12:31
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
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: painkiller] #396784
03/10/12 15:57
03/10/12 15:57
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Tried, but didn't work.. may be I've done something wrong...


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: PH_CHAR [Re: 3run] #397181
03/16/12 09:17
03/16/12 09:17
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
ANY ONE???

Quote:
How do I adjust friction parameter for PH_CHAR?
pXent_setfriction(my, 0);
didn't help!



Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: PH_CHAR [Re: 3run] #397187
03/16/12 11:07
03/16/12 11:07
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

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: Wjbender] #397215
03/16/12 16:10
03/16/12 16:10
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Problem is with friction thing, how to lower friction for PH_CHAR?


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: PH_CHAR [Re: 3run] #397310
03/17/12 15:25
03/17/12 15:25
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Any ideas, guys, or should I ask directly in "Ask the Developers" forum?


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: PH_CHAR [Re: 3run] #397336
03/17/12 20:25
03/17/12 20:25
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

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
Page 1 of 3 1 2 3

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