Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 08/17/26 19:28
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
Pause button for evaluation shell?
by AndrewAMD. 08/13/26 17:16
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/10/26 12:46
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
Accepting new programming clients
by AndrewAMD. 08/06/26 21:25
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 2,123 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19230 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