How to find coordinates of 3D model on mouse click
Hi,
I am hetal working on moving avatars on 3D model terrine problem is my avatar moves streight So as a solution I want avatar to move on terrine according to height information of the terrine |
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 |
All times are GMT -7. The time now is 03:38 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC