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,388 guests, and 6 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
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,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
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,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
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,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
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 | 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