How to attach (pin) 3 particle emitters

Get help using Construct 2

Post » Wed May 01, 2013 7:34 pm

Helo,

I am trying to pin 3 particle emitters to one object on different x,y... but i cant get it.

Help?
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Wed May 01, 2013 7:39 pm

Pinning is pretty straightforward:
1) Create the object to be pinned, and the object to be pinned to.
2) Give the pinning object the pin behaviour.
3) Either in the layout or the event sheet, set the pinning object to the correct position on the receiving object.
4) In the event sheet, select the object -> set pin -> receiving object.

If you don't come right, post your capx so we can take a look.
B
56
S
15
G
10
Posts: 910
Reputation: 11,972

Post » Wed May 01, 2013 8:53 pm

I know how to pin... basicly.
But it allways get pinned to the ORIGIN image point.
Can i change x,y values in pin options so that i can pin to other image points?

Tnx!
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Wed May 01, 2013 9:04 pm

When you pin an object to another one, the pinned object uses its current position relative to that object as its base position. You can move the pinned object to anywhere on that receiving object that you'd like, but once you pin it, it'll stay in the same relative position to that object, just duplicating the receiving object's change in position and angle, but not its actual position and angle.

So, first move the object to exactly where you want it to be, then pin it. If you want it to move to an image point on that object, then move it to an image point.

If the receiving object is animated in such a way that this image point moves or otherwise changes, then the pin behaviour is not suitable. In such a case you should rather use every tick -> set position to object, and specify the image point in the action.
B
56
S
15
G
10
Posts: 910
Reputation: 11,972

Post » Wed May 01, 2013 9:19 pm

thanx... i'll try that.
B
26
S
11
G
2
Posts: 669
Reputation: 5,038


Return to How do I....?

Who is online

Users browsing this forum: GSquadron, jeffige, MisterAqua, Nifl, paala, Yahoo [Bot] and 23 guests