Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,513 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
can Anchor point change during gameplay? #241708
12/18/08 10:45
12/18/08 10:45
Joined: Aug 2008
Posts: 63
=Strogg=3rd_com_cent.
O
Omicron_NEGA Offline OP
Warez kiddie?
Omicron_NEGA  Offline OP
Warez kiddie?
O

Joined: Aug 2008
Posts: 63
=Strogg=3rd_com_cent.
can Anchor point change during gameplay?
Code:
hingeID= phcon_add( PH_HINGE, box_2,box_1);
	phcon_setparams1(hingeID, **i_want_to_change_this_vector***,vector(0,0,1), nullvector);
	phcon_setparams2(hingeID,  vector (-360, 360, 0) , nullvector, nullvector); 






is it possible?
if it is,then how?
thx for helping!

Last edited by Omicron_NEGA; 12/18/08 10:45.

P4 3.6GHz x2 8GB RAM DDR2 GeForce8800GTS
Re: can Anchor point change during gameplay? [Re: Omicron_NEGA] #242064
12/21/08 03:52
12/21/08 03:52
Joined: Aug 2008
Posts: 63
=Strogg=3rd_com_cent.
O
Omicron_NEGA Offline OP
Warez kiddie?
Omicron_NEGA  Offline OP
Warez kiddie?
O

Joined: Aug 2008
Posts: 63
=Strogg=3rd_com_cent.
ohh cmon guys!
pleease help me!


P4 3.6GHz x2 8GB RAM DDR2 GeForce8800GTS
Re: can Anchor point change during gameplay? [Re: Omicron_NEGA] #242255
12/22/08 02:33
12/22/08 02:33
Joined: Aug 2008
Posts: 19
S
Sunn Offline
Newbie
Sunn  Offline
Newbie
S

Joined: Aug 2008
Posts: 19
You can use something like this:

var anchor_vector[3] = 0,0,0;
//and during gameplay you can change its value

But i'm not sure is that realy works because i haven't physics engine.

Last edited by Sunn; 12/22/08 02:33.
Re: can Anchor point change during gameplay? [Re: Sunn] #242268
12/22/08 08:05
12/22/08 08:05
Joined: Dec 2005
Posts: 490
Germany/Berlin-Velten
kasimir Offline
Senior Member
kasimir  Offline
Senior Member

Joined: Dec 2005
Posts: 490
Germany/Berlin-Velten
perhaps try somethink like this:
Code:
phent_enable(me, 0);

phcon_remove(hingeID); 

hingeID= phcon_add( PH_HINGE, box_2,box_1);
phcon_setparams1(hingeID, **i_want_to_change_this_vector***,vector(0,0,1), nullvector);
phcon_setparams2(hingeID,  vector (-360, 360, 0) , nullvector, nullvector); 

phent_enable(me, 1);



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