Animation direction

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
PLaine
Posts: 35
Joined: Thu Jun 15, 2017 3:56 pm

Animation direction

Post by PLaine » Tue Apr 09, 2019 11:53 am

Hello,

I've changed the direction of autorotation by placing a minus sign before the frame rate but my pano begins with an animation showing the ceiling then going down to the horizon, but in a direction that I can't change : the animation rotates towards the right then autorotates to the left when reaching the horizon, although I want the pano animating in the same direction than the autorotate effect.
How do I change that?
Thanks for your help

Philippe

User avatar
Hopki
Gnome
Posts: 9446
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Animation direction

Post by Hopki » Tue Apr 09, 2019 12:04 pm

Hi Philippe,
In the animation editor you can right button click on a keyframe and edit the value.
So the second keyframe where your animation spins too, you can edit its value and see if you cannot get it to rotate in the other direction.
However what I would do is copy the p2vr file and work with the copy just encase.
Regards,
Hopki

PLaine
Posts: 35
Joined: Thu Jun 15, 2017 3:56 pm

Re: Animation direction

Post by PLaine » Tue Apr 09, 2019 5:31 pm

Thanks Hopki.
In fact, I was talking about start animation... but I have had a look inside the animation module (I didn't use it until now) and found it very easy to use and with a clear interface. Unfortunately, I didn't find the way to make the autorotation continue after the end of the animation; it only loops the animation. I looked at your demo video but I didn't learn something allowing this.

Philippe

User avatar
Hopki
Gnome
Posts: 9446
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Animation direction

Post by Hopki » Tue Apr 09, 2019 7:08 pm

Hi Philippe,
Ahh the Fly-In.
You can also make this in the Animation editor.
Press and hold the Green Plus button.

Screenshot 2019-04-09 at 18.05.28.png
Screenshot 2019-04-09 at 18.05.28.png (46.25 KiB) Viewed 401 times

Select Fly In Clip.
Make your fly-in for that node.
With Fly In selected it will use this clip.

Regards,
Hopki

PLaine
Posts: 35
Joined: Thu Jun 15, 2017 3:56 pm

Re: Animation direction

Post by PLaine » Wed Apr 10, 2019 11:45 am

Thanks Hopki.

OK. I didn't see this choice... but yes indeed I can change the direction of the animation by changing its value, but the autorotation direction is still positive and the speed field in the autorotation tab is greyed, so that when animation is ended, the autorotation goes on at the opposite direction.
Or I missed something :°(

Philippe

User avatar
Hopki
Gnome
Posts: 9446
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Animation direction

Post by Hopki » Wed Apr 10, 2019 1:52 pm

Hi Philippe,
I have attached a project that uses a timer.
How this works is there is a Fly-In set in the animation editor that lasts for 12.4 seconds.

The Auto Rotation & Animation panels settings:

Screenshot 2019-04-10 at 12.40.10.png
Screenshot 2019-04-10 at 12.40.10.png (66.27 KiB) Viewed 379 times

The idea is after the fly-in the auto rotate starts rotating with no delay.
In the skin there is a time that after 13 seconds has the action to start Auto Rotate, but also adjust the delay timer to 5 seconds.

Without the timer the delay time would remain at 0 seconds so as soon as you stopped interacting with the pano it would start auto rotating straight away.
The timer is changing the delay timer to 5 seconds. So after the fly-in, and it starts auto rotating, if it is then interacted with it would wait 5 seconds before rotating.

If you're ok with the panorama to start auto rotating 5 seconds after the fly-in then leave teh delay at 5.00 and there will be no need for a timer in the skin.
Regards,
Hopki
Attachments
auto_rotate.zip
(12.21 KiB) Downloaded 30 times

PLaine
Posts: 35
Joined: Thu Jun 15, 2017 3:56 pm

Re: Animation direction

Post by PLaine » Wed Apr 10, 2019 9:17 pm

Thanks Hopki ! It does it!
I have put 14s instead of 13s in the timer; it gives a better result.
Many thanks for your time

Philippe

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests