Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 4,149 guests, and 13 spiders.
Key: Admin, Global Mod, Mod
Newest Members
VladMak, Geir, ondrej, mredit, vestriaa
19207 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Chain physic... #31719
08/05/04 19:26
08/05/04 19:26
Joined: Aug 2004
Posts: 34
France
S
Superjeu3D Offline OP
Newbie
Superjeu3D  Offline OP
Newbie
S

Joined: Aug 2004
Posts: 34
France
Hallo,

I'm an object physic with "ph_hinge" and an other object physic with "ph_slider". The first object and the second object are in phent_setgroup(...,1). With code

"my_slider=phcon_add(PH_SLIDER,my,you);
phcon_setparams1(my_slider,vector(0,0,1),nullvector,nullvector);
phcon_setmotor(second_object,vector(20,10,0),nullvector,nullvector);"

my second objet move in this direction (at down), but i want that my second object changing this direction (at up)... In the manual, it's write that us must changing the direction, but how??

Other, for the chain, i make the balls physics for my chain move with collisions with other objects, but how can i attach the links at my balls physics??

Thanks..

Re: Chain physic... [Re: Superjeu3D] #31720
08/06/04 03:21
08/06/04 03:21
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
Quote:

my second objet move in this direction (at down), but i want that my second object changing this direction (at up)... In the manual, it's write that us must changing the direction, but how??


Just change the sign of the phcon_setmotor speed. Instead of +20 set it to -20 and it will move down.

Re: Chain physic... [Re: Marco_Grubert] #31721
08/06/04 03:52
08/06/04 03:52
Joined: Aug 2004
Posts: 34
France
S
Superjeu3D Offline OP
Newbie
Superjeu3D  Offline OP
Newbie
S

Joined: Aug 2004
Posts: 34
France
Haaa??? I have attempt this, but my result doesn't good..?? Maybe that i make an error in my program.. OK thanks you, i test this..

And for attach links at my physics balls??

@+

PS: if there is a responses, i can regarding in 10 days ~, because i going to holiday..
Amicaly, Bye

Last edited by Superjeu3D; 08/06/04 03:56.

Moderated by  HeelX, Spirit 

Gamestudio download | 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