playMaker

Author Topic: VR Point Click & Move Nav Mesh  (Read 3638 times)

georgep4

  • Playmaker Newbie
  • *
  • Posts: 2
VR Point Click & Move Nav Mesh
« on: August 30, 2018, 07:55:22 AM »
I recently completed a tutorial by Dumb Game Dev(very good instruction).

Instead of mouse click events, I switched it to Pointer Click. It works great on the computer. Click the box and then click ground, the box moves to the clicked point. However, when built an APK for android, it sort of works...I click the box and then click the ground the box moves but in a random direction like it's not recognizing the Raycast to the navmesh

DGD Tutorial


georgep4

  • Playmaker Newbie
  • *
  • Posts: 2
Re: VR Point Click & Move Nav Mesh
« Reply #1 on: August 30, 2018, 10:22:00 AM »
I have found the issue with my Pointer Click in the APK...I am still using Mouse Pick...No wonder it works on the computer and not on the phone.

Is there an Action that will use Fire1 to get the Ray distance, store point and use the Layer Mask?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7623
    • jinxtergames
Re: VR Point Click & Move Nav Mesh
« Reply #2 on: August 30, 2018, 11:28:38 AM »
Hi.
You can use get button actions.

and then get raycast hit info.

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: VR Point Click & Move Nav Mesh
« Reply #3 on: August 31, 2018, 03:04:06 AM »
Hi,

Don't forget you can join us on the (unofficial) playmaker slack chat channel. There are dozens of us there that are working on VR projects. I am there myself daily.

https://invite-playmaker-slack.herokuapp.com

Sincerely,

Eric