# Animate Pocket Door - rotate and slide like HAWA Concepta

**URL:** <https://forums.sketchup.com/t/animate-pocket-door-rotate-and-slide-like-hawa-concepta/159378>\
**Category:** SketchUp\
**Tags:** animate\
**Created:** [April 3, 2021, 3:58pm UTC](https://forums.sketchup.com/t/animate-pocket-door-rotate-and-slide-like-hawa-concepta/159378 "2021-04-03T15:58:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sambryanmerrett](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/sambryanmerrett/32/96651_2.png) [@sambryanmerrett](https://forums.sketchup.com/u/sambryanmerrett)\
**Post date:** [April 3, 2021, 3:58pm UTC](https://forums.sketchup.com/t/animate-pocket-door-rotate-and-slide-like-hawa-concepta/159378/1 "2021-04-03T15:58:51Z")

</div>

Anyone know how I can animate a HAWA Concepta style pocket door? Basically it needs to rotate 90 degrees and then slide in when clicked.

Model attached and I can animate the rotation (RotZ) and position, but I just cannot get my head around combining the two motions. [Bar Unit.skp](https://forums.sketchup.com/uploads/short-url/8UveRfmk9fap4gYAceUFL82JYtw.skp) (64.3 KB)

---

<div class="post-metadata">

**Author:** ![JQL](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/jql/32/8074_2.png) [@JQL](https://forums.sketchup.com/u/JQL)\
**Post date:** [April 3, 2021, 4:31pm UTC](https://forums.sketchup.com/t/animate-pocket-door-rotate-and-slide-like-hawa-concepta/159378/2 "2021-04-03T16:31:29Z")

</div>

This is a clue for you:

AnimateSlow(“Translation”,0,0,1,0);AnimateSlow(“Rotation”,0,1,1,1)

---

<div class="post-metadata">

**Author:** ![MikeWayzovski](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mikewayzovski/32/98346_2.png) [@MikeWayzovski](https://forums.sketchup.com/u/MikeWayzovski)\
**Post date:** [April 3, 2021, 4:46pm UTC](https://forums.sketchup.com/t/animate-pocket-door-rotate-and-slide-like-hawa-concepta/159378/3 "2021-04-03T16:46:21Z")

</div>

Check this post and model:

> [@Different sequence on return](https://forums.sketchup.com/t/different-sequence-on-return/42245/2):
>
> You’ll better use 'ANIMATECUSTOM" and add some attributes for controlling the time : I have only controlled the time, but it’s morel likely that you would set the ‘easein’ and ‘out’ settings (ANIMATECUSTOM(“attr” ,time, easein, out, state1,…stateN) also with a variable.

---

<div class="post-metadata">

**Author:** ![sambryanmerrett](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/sambryanmerrett/32/96651_2.png) [@sambryanmerrett](https://forums.sketchup.com/u/sambryanmerrett)\
**Post date:** [April 3, 2021, 11:37pm UTC](https://forums.sketchup.com/t/animate-pocket-door-rotate-and-slide-like-hawa-concepta/159378/4 "2021-04-03T23:37:26Z")

</div>

Managed to get the animations working and the doors close perfectly, but they just do not open correctly. Any ideas? [Bar Unit.skp](https://forums.sketchup.com/uploads/short-url/92eHoYs1pu2AWBh8Hcu66rkF2BO.skp) (65.2 KB)

---

<div class="post-metadata">

**Author:** ![MikeWayzovski](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mikewayzovski/32/98346_2.png) [@MikeWayzovski](https://forums.sketchup.com/u/MikeWayzovski)\
**Post date:** [April 4, 2021, 9:27am UTC](https://forums.sketchup.com/t/animate-pocket-door-rotate-and-slide-like-hawa-concepta/159378/5 "2021-04-04T09:27:03Z")

</div>

There was a minor error in the State attribute (90 instead of -90) I think it didn’t update correctly.  
I (re)created the other door as well (when it comes to rotating and flipping, better use separate components instead)

[Bar Unit revised.skp](https://forums.sketchup.com/uploads/short-url/yo1fMdevvJAI2J7jEn3WdkFuo2q.skp) (161,0 KB)
