Next problem:
I need the billboards to not be able to be dragged past each other on
the x-axis. Which means keeping track of the position of each then
creating some simple logic to limit their movement. Clamping movement
to particular bound is easy, but the problem then becomes getting the
positions of the other billboards inside the Iterator, since each
iteration needs to know the position of the billboards in the
previous and next iterations. But... you can't get values from other
iterations, and because the Iterator had a billboard in it, it's
turned blue, and therefore can't have an output....
a|x
On 3 Jun 2010, at 14:20, Alex Drinkwater wrote:
Ah, that does the job!
Thanks George.
a|x
--- On Thu, 3/6/10, George Toledo <gtole...@gmail.com> wrote:
From: George Toledo <gtole...@gmail.com>
Subject: Re: Programmatic Billboard/Sprite Position and Interaction
To: "Alex Drinkwater" <the_vo...@yahoo.co.uk>
Cc: "quartzcomposer-dev list list" <Quartzcomposer-
d...@lists.apple.com>
Date: Thursday, 3 June, 2010, 13:51
The offsets on the interaction patch work inside of an iterator, so
you can use them to setup initial positions (to some extent). See
attachment.
-George Toledo
On Thu, Jun 3, 2010 at 8:39 AM, Alex Drinkwater
<the_vo...@yahoo.co.uk> wrote:
There's probably a really simple answer to this one, but I can't
currently see it.
I'd like to programmatically set the initial positions of several
sprites/billboards, but I'd also like to be able to subsequently
drag them to new positions with the mouse.
I'm not quite sure how to approach it, to be honest.
Anyone any thought?
a|x
http://www.toneburst.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-
d...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/gtoledo3%
40gmail.com
This email sent to gtole...@gmail.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-
d...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/the_voder%
40yahoo.co.uk
This email sent to the_vo...@yahoo.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com