Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started 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...
-
Does the whatever you're clicking on have a collider?
-
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.
-
Did you ever get this to work? I'm having a similar issue and I can't get it to work.
-
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...