From: "henry birdseye" Received: from mail-yw1-f45.google.com ([209.85.161.45] verified) by media-motion.tv (CommuniGate Pro SMTP 6.1.0) with ESMTPS id 7494967 for AE-List@media-motion.tv; Mon, 20 Jan 2020 20:09:32 +0100 Received: by mail-yw1-f45.google.com with SMTP id 10so301295ywv.5 for ; Mon, 20 Jan 2020 11:09:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=TyxRTaQ9sDDKTjJ8mFByzL/+Kqt5Lmt+3//MH7D14So=; b=rd8zmA91fYpmmlKY4Io4nvyG1QG9DofnM0CpwN0dwReK/KNvdsC/I6hbRbmDTQly5G TTzUPQ7lzRBbPBVxjB3Nl4HG2TSmlUAuTDbCGXz/J7VxhotkhiIGRHXpvPGBHyaYaHFq GToTgh4Bc0HXXN5foOSJX0w+XnzAqC1YimtEXrGxRem8TElOjt+DIpBoty7uzJy06pY6 DLeGodt6wUt3+fSdXhi8DjFCSE45OxPyduEt5DTVgoCsW5HYqq//zhuyGtD1dCAdQqHK 2RlSeBoNYgQ+A4LhVFHZcQRvv9TAg5zfIRwmBpnWnVnxO1Bygput8T+ybF448uI+a8x4 9aNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=TyxRTaQ9sDDKTjJ8mFByzL/+Kqt5Lmt+3//MH7D14So=; b=FMKcRF5J3ewr2NZl4NAY5qm8pluFmuHrPxERSD9sffeoV5KkED+CWD99y/PCd34Mm3 ZTDKUzmBWlbvARtAkpXZpe+Qny3FRukkfSh9awyyVR997RMd72kqLEP+byNW5Ij/njKG iwxjIZIEhSOCTjaANBYS1ctcIk4ctFz+usLAxWHT/P3Iaf33K/UXgm4/Wm8m6oX6muaY 2i86g4z1T0e+OjX/6ZB275VXZWHZwA/gzlS71/RCUp0GOstnQrgCX7TjnizOqnfx5If3 S8AK/v4SlGLAkDfcj/h1BADXvOc68yZSC0u0D2K/4v9uCgl6my4twM4sYf0CdJlXQc63 UNlQ== X-Gm-Message-State: APjAAAWkVad87c0VvxW2R2N9TYO2+y41ddhXxs2BKvhBbXY1NxtsmdRb WBhIYoKRsbeLstjnVZfIxC2DXf3kuKo= X-Google-Smtp-Source: APXvYqzsBLTLz/a1SZpX3MGk2uqExjK2ttR6WL+H2+vbqy15fDBx4UKUvcFx/Bp1LG2jg2Fk9Me8Wg== X-Received: by 2002:a81:9e04:: with SMTP id m4mr454633ywj.51.1579547370952; Mon, 20 Jan 2020 11:09:30 -0800 (PST) Return-Path: Received: from [192.168.1.12] ([24.192.63.173]) by smtp.gmail.com with ESMTPSA id y129sm15909131ywd.40.2020.01.20.11.09.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Jan 2020 11:09:30 -0800 (PST) Subject: Re: [AE] Repelling layers To: After Effects Mail List References: Message-ID: <401135fe-fff0-2e68-dd9d-b2e8b424b3a7@gmail.com> Date: Mon, 20 Jan 2020 14:09:27 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------0F24D562D725CECB6DDECF00" Content-Language: en-US This is a multi-part message in MIME format. --------------0F24D562D725CECB6DDECF00 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit I will submit that Character Animator has a physics system that could handle bumping and bouncing. On 1/20/2020 1:45 PM, D wrote: > …and a good answer, thanks!! > > On Monday, 20 January 2020, Nathan Shipley > wrote: > > At that point you’d probably want to just use something like the > Newton plugin which is built for this kinda stuff.  It would be a bad > use of expressions, get complicated, and probably bog down pretty > quickly since expressions don’t have a “memory” as Dan Ebberts puts > it.  That is to say, they only know what is going on in the current > frame and you have to build in kinda slow workarounds to deal with > this; there are no persistent variables, which you’d want to build a > physics system. > > > > Good question though! > > On Mon, Jan 20, 2020 at 8:22 AM D > wrote: > > > > …I should say 'make the grey blocks collide with each other’ as > opposed to repel each other. > > > > On Monday, 20 January 2020, D > wrote: > >> Excellent Nathan. > >> > >> Is it possible with expressions to make the grey blocks repel each > other too? (i’m not asking you to do it, I’m just interested whether > it’s possible with expressions). > >> > >> Thanks. > >> > >> On Thursday, 16 January 2020, Cary Spenser > wrote: > >>> Nathan - > >>> Really helpful to rocket my understanding of scripting. > >>> Thanks! > >>> Cary > >>> On Wed, Jan 15, 2020 at 1:15 PM Nathan Shipley > > wrote: > >>> > >>> Henry, > >>> Here's something really basic I just whipped up that simply moves > layers away from a null.  It just pushes objects away from where the > null is when they're closer than the "Distance Threshold" control.  > You can increase the amount that they move with "Move Away Multiplier." > >>> Just paste the position expression from one of the solids to your > own layers and it should work or at least be a starting point to > tinker further.  Expression pasted below as well: > >>> Here's a quick screencapture showing what it does: > >>> --------------0F24D562D725CECB6DDECF00 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

I will submit that Character Animator has a physics system that could handle bumping and bouncing.


On 1/20/2020 1:45 PM, D wrote:
…and a good answer, thanks!!

On Monday, 20 January 2020, Nathan Shipley <AE-List@media-motion.tv> wrote:
> At that point you’d probably want to just use something like the Newton plugin which is built for this kinda stuff.  It would be a bad use of expressions, get complicated, and probably bog down pretty quickly since expressions don’t have a “memory” as Dan Ebberts puts it.  That is to say, they only know what is going on in the current frame and you have to build in kinda slow workarounds to deal with this; there are no persistent variables, which you’d want to build a physics system. 
>
> Good question though!
> On Mon, Jan 20, 2020 at 8:22 AM D <AE-List@media-motion.tv> wrote:
>
> …I should say 'make the grey blocks collide with each other’ as opposed to repel each other.
>
> On Monday, 20 January 2020, D <dow.hanson@gmail.com> wrote:
>> Excellent Nathan.
>>
>> Is it possible with expressions to make the grey blocks repel each other too? (i’m not asking you to do it, I’m just interested whether it’s possible with expressions).
>>
>> Thanks.
>>
>> On Thursday, 16 January 2020, Cary Spenser <AE-List@media-motion.tv> wrote:
>>> Nathan -
>>> Really helpful to rocket my understanding of scripting. 
>>> Thanks!
>>> Cary
>>> On Wed, Jan 15, 2020 at 1:15 PM Nathan Shipley <AE-List@media-motion.tv> wrote:
>>>
>>> Henry,
>>> Here's something really basic I just whipped up that simply moves layers away from a null.  It just pushes objects away from where the null is when they're closer than the "Distance Threshold" control.  You can increase the amount that they move with "Move Away Multiplier."
>>> Just paste the position expression from one of the solids to your own layers and it should work or at least be a starting point to tinker further.  Expression pasted below as well:
>>> Here's a quick screencapture showing what it does:
>>>
--------------0F24D562D725CECB6DDECF00--