Gamestudio Links
Zorro Links
Newest Posts
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
0 registered members (), 1,173 guests, and 0 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
how to let a phisics object follows a non-physics object? #242085
12/21/08 11:01
12/21/08 11:01
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.
i tried,but failed.
it should be like this:
a physical object follow a non-physical object and keeps
its property.
it means i cant use ph_enable to disable then enable.
i tried and tried,but failed and failed.
so im looking for some idea here.
thx!


P4 3.6GHz x2 8GB RAM DDR2 GeForce8800GTS
Re: how to let a phisics object follows a non-physics object? [Re: Omicron_NEGA] #242088
12/21/08 11:08
12/21/08 11:08
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
When you permanently disable and enable the object, what for do you then need its physics properties? Physics wont work when an object is permanently disabled and enabled.

Physics objects react on forces, this can be easily used to let it follow another object. Just apply a force vector in direction of the target and with a magnitude proportional to the target distance.

Re: how to let a phisics object follows a non-physics object? [Re: Spirit] #242090
12/21/08 11:16
12/21/08 11:16
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.
ok,im not good at english,and you misunderstood me.
a physical object follow a non-physical object and keeps its physics attribute
.
i mean ..hmm...
you know, im using phcon_add and bound 2 objects,then i want to those two objects which use phcon_add follow my non-phisical charactor.
now i think you should understand wat i mean smile


P4 3.6GHz x2 8GB RAM DDR2 GeForce8800GTS
Re: how to let a phisics object follows a non-physics object? [Re: Omicron_NEGA] #242093
12/21/08 11:42
12/21/08 11:42
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
i think he understood you. reread his answer.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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