Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: blackant on March 05, 2014, 12:51:22 PM

Title: Reponse / no reponse [SOLVED]
Post by: blackant on March 05, 2014, 12:51:22 PM
hello,

in my game, i made a drag and drop fsm on my cards wich works perfectly on a basic scene but looks totally locked in the game scene...


any idea what can cause this trouble and how can i localize it ?
Title: Re: Reponse / no reponse
Post by: redikann on March 05, 2014, 02:34:34 PM
Just a quick suggestion in your actual game make sure the camera is tagged main camera as mouse clicks look for that. You might have a main camera in your scene but when the main game application is running make sure that your lead cam is tagged main camera.
Title: Re: Reponse / no reponse
Post by: blackant on March 06, 2014, 11:13:38 AM
nice idea, but the Main camera is Tagged Main camera.

not this, thx for try
Title: Re: Reponse / no reponse
Post by: Alex Chouls on March 06, 2014, 01:52:57 PM
A lot of times I track these kinds of problems down to collision shapes - wrong sizes, or extra colliders interfering with raycasts etc. I would double check the colliders.
Title: Re: Reponse / no reponse
Post by: blackant on March 07, 2014, 06:09:15 AM
i tested by deactivating  all others colliders in the scene, witouht any result.
i egally tested camera Z position, egally no change.

i think the problems comes from instancing.
Title: Re: Reponse / no reponse
Post by: blackant on March 07, 2014, 10:35:52 AM
i tested by deactivating  all others colliders in the scene, witouht any result.
i egally tested camera Z position, egally no change.

i think the problems comes from instancing.

and i'm wrong the instance is responding corectly on the test scene.
Title: Re: Reponse / no reponse
Post by: blackant on March 07, 2014, 11:50:27 AM
ok !

finally fund a way to solve it by moving the piece near the camera or far from the board ...

thx for all participants !