Jump to content

make all particles of a particle system relative to a mesh object


SebRomeo
 Share

Recommended Posts

Hi guys !

I'm struggeling on something. I want to make a static particle system that is child of a mesh for all particles to be relatively positionned to that element.

I have tried to getWorlMatrix() of mesh, to parent the mesh to particle system and mess with all matrix functions with no results...

Example:
-I have spaces cubes (8) that I move according to player position to give the effect of an infinite map (see previous post ;) )
-my particles are "dust" in those cubes that are created once and are static

But when I move my cube to another position, particles stays at the same place....

Have you got a clue ?

Edit: another noob more general question: How to select all particles as an object like (for using clone, createInstance, position...)?
Thank you guys ;)

Link to comment
Share on other sites

Ok thanks for your fast reply :) !!
I just wonder if this will cost a lot more process consumption ?

If not, I'm definitely on it !

I may have no choice but to do so in fact :/

I wonder if performancewise is best to have 8 particle systems or 1 solidParticleSystem but clonned several times ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...