Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: lockedlake on July 05, 2014, 05:40:23 PM

Title: [ISSUE STORE POINT] Mouse Pick - Store Point get ( 0, 0, 0 )
Post by: lockedlake on July 05, 2014, 05:40:23 PM
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...
Title: Re: [ISSUE STORE POINT] Mouse Pick - Store Point get ( 0, 0, 0 )
Post by: terri on July 06, 2014, 10:14:30 AM
Does the whatever you're clicking on have a collider?
Title: Re: [ISSUE STORE POINT] Mouse Pick - Store Point get ( 0, 0, 0 )
Post by: lockedlake 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.
Title: Re: [ISSUE STORE POINT] Mouse Pick - Store Point get ( 0, 0, 0 )
Post by: xohmg 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.
Title: Re: [ISSUE STORE POINT] Mouse Pick - Store Point get ( 0, 0, 0 )
Post by: Alex Chouls 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...