When im driving and the bullet hits the wall, we create particles and set there position to where the contact was. But I notice if my vehicle is moving the particles also move adjacent it as if the particles are on the same layeras the vehicle is. I simple add them both to scene, why would they follow cars velocity. I have played around with the Z-Order with no luck ?
The follow action is ran on your “this” meaning that “this” node is following your car. Later, particles are added as child of the “this” node. Naturally, your particles would follow your car. You might want to add particles to another parent instead of “this”.
But why does this-> mean car. This is in a first world scene in the contact begin function. Why doesn scene pick car randomly and not scene node like it does everywhere else
How do i simple add them to scene then underneath. ? Is it possible . If I add another sprite , that doesn’t follow car ?
I thought this was the entire scene… Like I can create a sprite and add to this, give it a position and it doesn’t follow car, why does particles do it and not Sprites ?
Particles naturally follow this then it seems or something ?
Any child that is added to this would behave as the particles. It has nothing to do with particles. Actually, is the node parent and child relationship.
In your context, yes, this is actually your scene but you also did this: