playMaker

Author Topic: [SOLVED] X;Y position of the mouse ?  (Read 8905 times)

VascBogdan

  • Full Member
  • ***
  • Posts: 118
Re: X;Y position of the mouse ?
« Reply #15 on: January 20, 2015, 02:10:10 PM »
I tried the Move Towards action in a 3D scene and it worked, but didn't try with mouse location.

Did you solve it ?

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: X;Y position of the mouse ?
« Reply #16 on: January 20, 2015, 02:26:15 PM »
If the hit point is always 0,0,0 then you may have forgot to assign the layers correctly, or the floor doesnt have a collider, or you're using the wrong variable as the destination, or you aren't storing the hit point from the mouse pick.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

VascBogdan

  • Full Member
  • ***
  • Posts: 118
Re: X;Y position of the mouse ?
« Reply #17 on: January 20, 2015, 03:21:33 PM »
If you have some time, please take a look at my scene. I deleted stuff not related to the problem.
If you can explain what I've done wrong, it will help me a lot in the future.
[Sorry for the archive, the unitypackage file was 10 KB bigger than the limit].

VascBogdan

  • Full Member
  • ***
  • Posts: 118
Re: X;Y position of the mouse ?
« Reply #18 on: January 21, 2015, 09:59:42 AM »
Wow. I actually solved it.
I forgot to change the lawer for the background, I thought that this is not what you meant first time.
Thank you a lot @Lane, and believe me I learned a lot from this. In the future I will pay more attention when getting advice.
I will create another topics if I have some problems, if I can do that. Again, thank's a lot and my respect :)

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: X;Y position of the mouse ?
« Reply #19 on: January 21, 2015, 10:02:57 AM »
Cool! Yeah don't hesitate to ask questions, thats what the forum is here for =)
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D