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
detect particles #407134
09/07/12 07:18
09/07/12 07:18
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
ist it possible to detect particles by a trace or with event_touch or something like that?

Re: detect particles [Re: GameScore] #407136
09/07/12 07:39
09/07/12 07:39
Joined: May 2009
Posts: 5,365
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,365
Caucasus
Take a look at AUM 100, I've made an example of flamethrower via particles. They can detect objects and decrease their health. I hope it will help you, good luck.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: detect particles [Re: 3run] #407140
09/07/12 08:23
09/07/12 08:23
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
nice example,
but i meant how to detect a particle itself

Re: detect particles [Re: GameScore] #407147
09/07/12 12:41
09/07/12 12:41
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
don't use a particle, use sprites instead...
particles can't have collision


Visit my site: www.masterq32.de
Re: detect particles [Re: MasterQ32] #407156
09/07/12 16:17
09/07/12 16:17
Joined: May 2009
Posts: 5,365
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,365
Caucasus
I guess you cant detect particles themselfs, but tell us what you are trying to archive, maybe we could find a workaround for your situation


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: detect particles [Re: 3run] #407164
09/07/12 19:31
09/07/12 19:31
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
i create some particles and wanna select them with the mouse
like drag and drop
the solution i find for now is to use the distance of the
particle pos.x and the hit.x of a trace

now i calculate wich particle is the closest to the hit.x
with vec_dist, works for now but primitive a bit

Re: detect particles [Re: GameScore] #407177
09/08/12 05:25
09/08/12 05:25
Joined: May 2009
Posts: 5,365
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,365
Caucasus
hm.. why dont you use sprites instead of particles then? take a look at the samples folder, there should be example that creates same effect with particles and sprites, I guess it will help you


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

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