Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: OmeletteDuFromage on July 02, 2015, 03:25:32 AM

Title: Pendulum Effect
Post by: OmeletteDuFromage on July 02, 2015, 03:25:32 AM
Hello Everyone

What is the best way to make a pendulum motion effect (unity 2D) ??

Thanks in advance
Title: Re: Pendulum Effect
Post by: jeanfabre on July 02, 2015, 07:32:34 AM
Hi,

 Unity 2d has a whole physics engine that can perfectly make a pendulum, and for this you don't need PlayMaker at all. just use "Hinge Joint 2D" component:

http://docs.unity3d.com/Manual/class-HingeJoint2D.html

Bye,

 Jean