[Behavior] Boundary

Post your completed addons to share with the community

Post » Sat Oct 11, 2014 10:20 am

Update

Rewrite this document.
Now this behavior could clamp the position in the boundary, or wrap the position to the other side of boundary.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Mon Oct 13, 2014 9:50 pm

@rexrainbow - awesome behavior!

I also like how if you are moving the boundary that the objects stay locked inside.
B
50
S
21
G
8
Posts: 844
Reputation: 10,299

Post » Sun Jul 17, 2016 3:38 am

Update

Add "Expression:HorPercent2PosX" / "Expression:HorPercent2PosY" -

Get position X/Y from percentage (0-1) of horizontal / vertical boundaries by "Expression:HorPercent2PosX" / "Expression:HorPercent2PosY". Sample capx
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Mon Aug 29, 2016 10:57 pm

Hey rex, is there a way to force the boundary rules for an object if setting its x and/or y position directly?
B
16
S
5
G
2
Posts: 36
Reputation: 1,642

Post » Mon Aug 29, 2016 11:59 pm

@gameglaux

You could move the object by dragdrop behavior or setting position directly now, this boundary behavior will clamp or wrap the position.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Tue Aug 30, 2016 10:00 am

@rexrainbow

Im having trouble with pinned objects ignoring the behaviour.
B
16
S
5
G
2
Posts: 36
Reputation: 1,642

Post » Tue Aug 30, 2016 3:24 pm

@gameglaux

I could not get your requirement, please provides a very simple capx to describe this problem.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Tue Aug 30, 2016 11:54 pm

@rexrainbow

PM sent!
B
16
S
5
G
2
Posts: 36
Reputation: 1,642

Previous

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests