Spwaning and layering
LumpApps
Member Posts: 2,881
I hope to have build up enough credit here to get a good respond
I'm having an issue.
I spawn a static (non moving actor). And then another static actor (partly) 'in front' of it.
The spawn behavior is activated by a third actor which is always on the scene and they spawn on an X an Y position on relative to the scene.
I want the second actor to spawn on a layer above the first. How can I make this happen? How do I control this.
Thanks in advance,
Ludwig
I'm having an issue.
I spawn a static (non moving actor). And then another static actor (partly) 'in front' of it.
The spawn behavior is activated by a third actor which is always on the scene and they spawn on an X an Y position on relative to the scene.
I want the second actor to spawn on a layer above the first. How can I make this happen? How do I control this.
Thanks in advance,
Ludwig
Comments
But what I want is the following:
- Spawn actor 1
- Span actor 2
And then actor 2 to be on top (or in front) of actor 1.
Now it is behind it even when I do
- Spawn actor 2
- Spawn actor 1
If this makes it clearer I have a number and want staples to represent this number so for example number = 7
- actor 1 is a staple of 4
- actor 2 is a staple of 3
So like the first picture, not the second:
Lump Apps and My Assets
Lump Apps and My Assets
So again what I wanted was:
An actor (x) spawning to actors
- actor 1
- actor 2 in front of actor 1
What happened was that actor 1 would spawn and when I then spawn actor 2 in front of actor (x) but not in front of actor 2. Makes sense because it just looks at actor (x) to spawn and thus actor 2 will spawn in between actor (x) and actor 1 thus behind actor 1.
I just had to spawn actor 2 first and then actor 1.
Hope this makes sense
Lump Apps and My Assets