Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: teenden001@gmail.com on February 18, 2019, 12:43:34 AM

Title: DragDrop Problem
Post by: teenden001@gmail.com on February 18, 2019, 12:43:34 AM
Thanx for timely help, i did it and its working fine.  (exiting from wait action in playmaker)


Next problem,

When i drag sphere, i want it to identify another object (e.g.capsule) in its way.
i put collider on capsule and made trigger checkbox on.

I  have added an FSM on capsule and in start waiting for collision to happen.
A user event is supported for this collision and that is connected to another
state and this state displays some msg to verify collision.

Please let me know what am i missing /or not correct.

Thanx in advance.
Title: Re: DragDrop Problem
Post by: djaydino on February 18, 2019, 09:48:07 PM
Hi.
If you checked 'Is Trigger' then it is not colliding anymore.

For trigger you need to use 'trigger event' and other trigger actions.

To get Familiar with PlayMaker i would suggest to look and follow to some of the tutorials here (https://hutonggames.fogbugz.com/default.asp?W548)
Title: Re: DragDrop Problem
Post by: teenden001@gmail.com on February 20, 2019, 06:47:50 AM
Thanx,

I did trigger event as well. (but did not work)

i did it with Mouse Pick action while mouseDrag and mouseUp, it works.
i want to make use of Trigger for this task.

or shall i put pictures to show here?



 





Title: Re: DragDrop Problem
Post by: djaydino on February 20, 2019, 07:54:29 AM
Hi.
The objects might need a rigidbody
Title: Re: DragDrop Problem
Post by: teenden001@gmail.com on February 21, 2019, 02:48:53 AM
Yes, it works now.

in collision, both the object requires collider and anyone is
accompnied by Rigidbody.

So simple thing we miss out sometime which bother us a lot,
and that is where the expert needed.
Because expert does all simple things.
Thanx a lot