From: "Carey Dissmore" Received: from camel.birch.relay.mailchannels.net ([23.83.209.29] verified) by media-motion.tv (CommuniGate Pro SMTP 6.1.0) with ESMTPS id 7492531 for AE-List@media-motion.tv; Wed, 15 Jan 2020 19:51:18 +0100 X-Sender-Id: dreamhost|x-authsender|carey@imugonline.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 7E6606A1828 for ; Wed, 15 Jan 2020 18:51:15 +0000 (UTC) Received: from pdx1-sub0-mail-a51.g.dreamhost.com (100-96-83-43.trex.outbound.svc.cluster.local [100.96.83.43]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E473C6A1695 for ; Wed, 15 Jan 2020 18:51:14 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|carey@imugonline.com Received: from pdx1-sub0-mail-a51.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Wed, 15 Jan 2020 18:51:15 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|carey@imugonline.com X-MailChannels-Auth-Id: dreamhost X-Wipe-Rock: 261b2edc37339c28_1579114275349_606468977 X-MC-Loop-Signature: 1579114275349:258976002 X-MC-Ingress-Time: 1579114275349 Received: from pdx1-sub0-mail-a51.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a51.g.dreamhost.com (Postfix) with ESMTP id BF9828578F for ; Wed, 15 Jan 2020 10:51:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=imugonline.com; h=from :content-type:content-transfer-encoding:mime-version:subject :date:references:to:in-reply-to:message-id; s=imugonline.com; bh=q2+kOzNI8z4cdYZgyrCyINOrEKk=; b=votA5uxodk42Xf1PkCHf/1b82FUK jpiY+OAScTE/aGzwn4nR/mCZBJwzIk10AsUDbeYprjvGv7iS3WqrgWp9Bn18iuAs eWpMOBp0hBbOqnuOz8QUcGaqVj3GG1G7qAkoW7gx1Qwr3Fx2OVlkLIxUq97aVRaz GlWko/LD3QG7N/U= Received: from [192.168.1.200] (c-24-118-189-141.hsd1.mn.comcast.net [24.118.189.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: carey@imugonline.com) by pdx1-sub0-mail-a51.g.dreamhost.com (Postfix) with ESMTPSA id 63A988578D for ; Wed, 15 Jan 2020 10:51:09 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a51 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [AE] Repelling layers Date: Wed, 15 Jan 2020 12:51:07 -0600 References: To: After Effects Mail List In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -51 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrtdefgdduudejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegoufhushhpvggtthffohhmrghinhculdegledmnecujfgurhephfgtgfgguffffhfvjgfkofesthhqmhdthhdtjeenucfhrhhomhepvegrrhgvhicuffhishhsmhhorhgvuceotggrrhgvhiesihhmuhhgohhnlhhinhgvrdgtohhmqeenucffohhmrghinhepughrohhpsghogidrtghomhdprggvshgtrhhiphhtshdrtghomhdprggvnhhhrghntggvrhhsrdgtohhmnecukfhppedvgedruddukedrudekledrudegudenucfrrghrrghmpehmohguvgepshhmthhppdhhvghloheplgduledvrdduieekrddurddvtddtngdpihhnvghtpedvgedruddukedrudekledrudeguddprhgvthhurhhnqdhprghthhepvegrrhgvhicuffhishhsmhhorhgvuceotggrrhgvhiesihhmuhhgohhnlhhinhgvrdgtohhmqedpmhgrihhlfhhrohhmpegtrghrvgihsehimhhughhonhhlihhnvgdrtghomhdpnhhrtghpthhtoheptefgqdfnihhsthesmhgvughirgdqmhhothhiohhnrdhtvhenucevlhhushhtvghrufhiiigvpedt Very nice, Nathan! Carey > On Jan 15, 2020, at 12:25 PM, scott.aelist = wrote: >=20 > This is pretty fancy to me. Thanks for sharing Nathan : ) >=20 > On Wed, Jan 15, 2020 at 10:15 AM Nathan Shipley = wrote: >>=20 >> Henry, >>=20 >> 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." >>=20 >> 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: >>=20 >> Here's a quick screencapture showing what it does: >> https://www.dropbox.com/s/97yymslvdmjgeez/MoveAwayDemo_01.mp4?dl=3D0 >>=20 >> And here's the .AEP: >> = https://www.dropbox.com/s/8g3scef520fir3r/MoveAwayExpression_NS_01.aep?dl=3D= 0 >>=20 >> Not fancy but maybe helpful? >> - Nathan >>=20 >> p =3D transform.position; >> nullPos =3D thisComp.layer("Parent And Controls").transform.position; >> distanceThreshold =3D thisComp.layer("Parent And = Controls").effect("Distance Threshold")("Slider"); >> moveAwayMult =3D thisComp.layer("Parent And Controls").effect("Move = Away Muliplier")("Slider"); >>=20 >> distance =3D length(p, nullPos); >>=20 >> if (distance < distanceThreshold) { >> distanceMult =3D (Math.log(distanceThreshold / distance)) * = moveAwayMult; >> delta =3D nullPos - p; >> nDelta =3D (normalize(delta)); >> newPos =3D p - nDelta * distanceMult; >> } else { >> p >> } >>=20 >> On Wed, Jan 15, 2020 at 9:13 AM henry birdseye = wrote: >>>=20 >>> This is true. If I had any sort of budget at all this would be = ideal. >>>=20 >>> About a decade ago, ways of doing this abounded on the interwebz... >>> those links have since passed on. Character Animator has a physics >>> engine I may explore. >>>=20 >>>=20 >>> On 1/15/2020 11:00 AM, Peter Lund wrote: >>>> Hi, >>>>=20 >>>> i gutes you need something like this. >>>>=20 >>>> https://aescripts.com/newton/ >>>>=20 >>>> a physic engine that helps you with the repelling and interaction. >>>>=20 >>>> this is all I found under =E2=80=9Ephysic=E2=80=9C topic =E2=80=A6 >>>>=20 >>>> https://aescripts.com/search/?q=3Dphysic >>>>=20 >>>> hope this helps you >>>>=20 >>>> Peter >>>>=20 >>>>> Am 15.01.2020 um 14:40 schrieb henry birdseye = : >>>>>=20 >>>>> I'm trying to get some layers to be repelled by a passing object, = the links I've found for how to do this are years old and don't work = properly. >>>>>=20 >>>>> Paul Tuersley's project no longer exists at = http://www.aenhancers.com/viewtopic.php?t=3D630 and that seems ideal for = what I need to do. >>>>>=20 >>>>> Can anyone help me find a setup I can kind of plug right into. = This, of course, came as a last minute client request. >>>>>=20 >>>>> HB >>>>>=20 >>>>>=20 >>>>> +---End of message---+ >>>>> To unsubscribe send any message to >>>>=20 >>>> +---End of message---+ >>>> To unsubscribe send any message to >>>=20 >>> +---End of message---+ >>> To unsubscribe send any message to >=20 > +---End of message---+ > To unsubscribe send any message to >=20