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
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 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
HMP and particle collision? #247932
01/23/09 13:34
01/23/09 13:34
Joined: Jan 2009
Posts: 38
Anonymous2009 Offline OP
Newbie
Anonymous2009  Offline OP
Newbie

Joined: Jan 2009
Posts: 38
Not sure if this is the right place to ask...

Is it possible to have collision detection between a HMP terrain and snow particles?

Re: HMP and particle collision? [Re: Anonymous2009] #247934
01/23/09 13:36
01/23/09 13:36
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Explain more.

Re: HMP and particle collision? [Re: Cowabanga] #248065
01/24/09 11:03
01/24/09 11:03
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Particle collisions are not supported at the moment. Though, you can achieve this for terrains. You can take the height information of the terrain and its position and calculate for the current x/y position of your particle the predictable collision position on the z-axis.

More generally, you can achieve for all weather effects like snow, rain or else something like this if you calculate for each x/y position the collision z position from high above. This can be achieved through simply using a trace or through rendering a depth map and use the depth information to retrieve the z collision position.

There are a lot of other approaches, each one more or less efficient for each situation and environment.


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