playMaker

Author Topic: DragDrop Problem  (Read 1175 times)

teenden001@gmail.com

  • Playmaker Newbie
  • *
  • Posts: 10
DragDrop Problem
« 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.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: DragDrop Problem
« Reply #1 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

teenden001@gmail.com

  • Playmaker Newbie
  • *
  • Posts: 10
Re: DragDrop Problem
« Reply #2 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?



 






djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: DragDrop Problem
« Reply #3 on: February 20, 2019, 07:54:29 AM »
Hi.
The objects might need a rigidbody

teenden001@gmail.com

  • Playmaker Newbie
  • *
  • Posts: 10
Re: DragDrop Problem
« Reply #4 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