Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
2 registered members (Quad, AndrewAMD), 1,007 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
PH_CHAR 2 questions #399305
04/13/12 23:30
04/13/12 23:30
Joined: May 2009
Posts: 5,365
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,365
Caucasus
I've made movement with PH_CHAR, it works good for me, but I have two unanswered questions:

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? And is there anyway to adjust it??

I've already asked this at forum, but got no answers which could really help me.
Plus, I've seen some strange simulation, when I use PH_CHAR and walk into the corner, player stops and then moves a little bit into the movement direction (if I still hold movement buttons), looks like he penetrates a little bit into the wall, here is the picture to describe what I mean:



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

Joined: May 2009
Posts: 5,365
Caucasus
ANYONE???


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: PH_CHAR 2 questions [Re: 3run] #399589
04/17/12 14:40
04/17/12 14:40
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
As there is no function to directly change the size of a PhysX shape, just do it indirectly: unregister the actor, set its bounding box to the desired size, then register it again.

I don't think that a PH_CHAR has friction. But if it has, the function to set friction is pXent_setfriction.


Moderated by  old_bill, Tobias 

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