Start a new topic

Shake Effect in Wikitude

Shake Effect in Wikitude


Hi Guys, just wondering if there is method that will simulate a shake effect? I am trying to create like a Magic Eight Ball.

 

Regards,

 

Miguel

 

Hi Miguel,

not out of the box. For HTML content there might be CSS or Javascript animation that you can use to animate the HUD in a way so it looks like it is shaking.

For the AR content you need to create approperiate AR.PropertyAnimations for each object and group them with AR.AnimationGroup.

Hi Wolfgang,

I want to clarify something. Can I use external jQuery Plugins for an ImageDrawable? I have discovered jRumble and it can simulate shake effects. 

 

Regards, 

Miguel

Hi Miguel,

Unfortunately, you cannot use jQuery Tools for ARchitect Objects. ARchitect objects (like ImageDrawables) are not added to the DOM per se, but live in their own context. Since jQuery works with HTMLElements, you cannot use it together with ARchitect objects.

Best,

Martin
Login or Signup to post a comment