Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/19/24 18:45
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (7th_zorro, AndrewAMD, TedMar), 837 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | 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