playMaker

Author Topic: [ISSUE STORE POINT] Mouse Pick - Store Point get ( 0, 0, 0 )  (Read 2368 times)

lockedlake

  • Playmaker Newbie
  • *
  • Posts: 2
Hello,

I've started using Playmaker and to get familiar with it, I've downloaded a bunch of assets from Unity3d samples ( used in their tutorials ).

I want to make an object to move toward the position of a click on the scene, and I made it work fine with basic object from scratch.

My problem is, I want to do the same in the RobotLab Tutorial Scene, but my mouse point get a ( 0, 0, 0 ) on everything I click.

Do someone have any idea what I could be missing ?

The setup :
- RobotLab Empty Scene. ( the one wich you are suposed to start the tutorial )
- Import the character in the scene.
- Disable the current camera of the scene and and a normal camera positionned  in a fashion to see the character form a certain distance.
- Simple FMS on the character with :
> MouseClick ( event finished )
> linked to Mouse Pick ( Store Point ) with a vector3 variable.
> linked to iTween move to ( Vector Position ) with the vector3 variable

Thank you very much for your time,
and I'm very sorry if this look very messy...

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: [ISSUE STORE POINT] Mouse Pick - Store Point get ( 0, 0, 0 )
« Reply #1 on: July 06, 2014, 10:14:30 AM »
Does the whatever you're clicking on have a collider?

lockedlake

  • Playmaker Newbie
  • *
  • Posts: 2
Re: [ISSUE STORE POINT] Mouse Pick - Store Point get ( 0, 0, 0 )
« Reply #2 on: July 06, 2014, 10:22:28 AM »
Hi Terri,

The maj. of the scene, wich is static, has a mesh collider on its parent with a mesh containing the basic form of the scene.

But I've tried using basic object of unity ( like cube or plane ) but I get the same result.

xohmg

  • Playmaker Newbie
  • *
  • Posts: 7
Re: [ISSUE STORE POINT] Mouse Pick - Store Point get ( 0, 0, 0 )
« Reply #3 on: July 16, 2014, 09:36:18 PM »
Did you ever get this to work? I'm having a similar issue and I can't get it to work.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: [ISSUE STORE POINT] Mouse Pick - Store Point get ( 0, 0, 0 )
« Reply #4 on: July 16, 2014, 10:43:00 PM »
Have you played with the Ray Distance?

If you can't get it to work, please submit a bug (Main Menu > PlayMaker > Tools > Submit Bug Report). When you get the link to your bug please attach a small repro project and I'll take a look...