playMaker

Author Topic: Reponse / no reponse [SOLVED]  (Read 2436 times)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Reponse / no reponse [SOLVED]
« 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 ?
« Last Edit: March 07, 2014, 11:50:46 AM by blackant »

redikann

  • Full Member
  • ***
  • Posts: 174
Re: Reponse / no reponse
« Reply #1 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.
« Last Edit: March 05, 2014, 02:38:08 PM by redikann »

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Reponse / no reponse
« Reply #2 on: March 06, 2014, 11:13:38 AM »
nice idea, but the Main camera is Tagged Main camera.

not this, thx for try

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Reponse / no reponse
« Reply #3 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.

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Reponse / no reponse
« Reply #4 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.

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Reponse / no reponse
« Reply #5 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.

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Reponse / no reponse
« Reply #6 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 !