Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: playmakertester on October 28, 2020, 09:26:32 AM

Title: How to Rotate Slowly
Post by: playmakertester on October 28, 2020, 09:26:32 AM
Hello.

When we collide with an object, we want to slowly rotate the GameObject.

What is a good name for an action to rotate GameObjet slowly?
Title: Re: How to Rotate Slowly
Post by: BredDev on October 28, 2020, 12:12:54 PM
I'm guessing you want to have a rigid body be affected by gravity and have it slowly turn on its own (like slo/mo or low gravity)? Or an iTween action?
Title: Re: How to Rotate Slowly
Post by: playmakertester on October 28, 2020, 02:33:37 PM
Try an iTween action.
Thanks!
Title: Re: How to Rotate Slowly
Post by: BredDev on October 29, 2020, 04:47:17 AM
For a custom iTween action like one you're looking for, you can make a variable and adjust your x,y,z (to rotate and move as you want).

Add the iTween from your Actions (Add, Move By, Move To etc) either should be ok aslong as you include that variable with the co-ordinates....from there use the Animation tab and record how exactly the object will move from point A to B for more control.

To get the object to appear to be rotating slowly however you'll have to extend your timeline to your specification.


Title: Re: How to Rotate Slowly
Post by: playmakertester on October 29, 2020, 04:53:22 AM
Hi BredDev,

I see!

I'd never used iTween before, so that was very helpful!
Let me try it out and ask questions if I don't understand it again.

Thanks so much!
Title: Re: How to Rotate Slowly
Post by: BredDev on October 29, 2020, 05:19:56 AM
 :)

no problem, hope it works out.