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
3 registered members (AndrewAMD, Grant, Neb), 908 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
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 | 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