View Single Post
  #2  
Old 08-25-2021, 10:13 AM
sado_rabaudi sado_rabaudi is offline
WorldViz Team Member
 
Join Date: Jul 2016
Posts: 25
Hi Hetal,

Here is the documentation on using a mouse click as a callback:
https://docs.worldviz.com/vizard/lat...ighlight=mouse

Then you could use avatar.getPosition() to query the avatar's position from that mouse click callback

https://docs.worldviz.com/vizard/lat...ht=getposition

You can also try turning on collision with the environment for the avatar to move over the terrain correctly?

https://docs.worldviz.com/vizard/lat...ight=collision

Best,
Sado
Reply With Quote