Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (dr_panther, Quad), 903 guests, and 3 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
I need to learn true type (pXent_settype) #410997
11/11/12 21:20
11/11/12 21:20
Joined: Nov 2012
Posts: 2
M
Mehmetk Offline OP
Guest
Mehmetk  Offline OP
Guest
M

Joined: Nov 2012
Posts: 2
I am learning lite-c.
I tried to make walk effect but I wasn't succes. My player is not effective gravity. so gravity isnt work. I don't know why. can somebody help me? Here is my codes.
https://hotfile.com/dl/179180725/8ad844c/moveentity.rar.html

Last edited by Mehmetk; 11/11/12 21:22.
Re: I need to learn true type (pXent_settype) [Re: Mehmetk] #411017
11/12/12 09:31
11/12/12 09:31
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
have you called physX_open() before the first level_load?
is your player PH_STATIC, PH_RIGID or PH_CHAR?
do you set your player to kinematic?


Visit my site: www.masterq32.de
Re: I need to learn true type (pXent_settype) [Re: MasterQ32] #411028
11/12/12 11:39
11/12/12 11:39
Joined: Nov 2009
Posts: 13
Turkey Ankara
kadir Offline
Newbie
kadir  Offline
Newbie

Joined: Nov 2009
Posts: 13
Turkey Ankara
Yeah i have that problem too. how can i move the character with physX. are we use the pXent_move function to move the player or use again c_move?


### From Turquie ###
Re: I need to learn true type (pXent_settype) [Re: kadir] #411031
11/12/12 11:46
11/12/12 11:46
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline
Senior Member
3dgs_snake  Offline
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
To move a character, you need to create a PH_CHAR or a rigid body with a kinematic flag set and move the entity using pXent_move(You need to simulate the gravity yourself). You can get some example here. To use the default GS physX plugin, remove the "3" from the function names and the include.

Re: I need to learn true type (pXent_settype) [Re: 3dgs_snake] #411063
11/12/12 18:06
11/12/12 18:06
Joined: Nov 2012
Posts: 2
M
Mehmetk Offline OP
Guest
Mehmetk  Offline OP
Guest
M

Joined: Nov 2012
Posts: 2
Thank you very much for your advice. Code samples would be help to me.Onces again thank you everyone.


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