WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-09-2021, 11:32 PM
hetal_kpandya hetal_kpandya is offline
Registered User
 
Join Date: Aug 2021
Posts: 1
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
Reply With Quote
  #2  
Old 08-25-2021, 10:13 AM
sado_rabaudi sado_rabaudi is offline
WorldViz Team Member
 
Join Date: Jul 2016
Posts: 40
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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable mouse click till Avatar finish its instructions Vishav Vizard 4 01-06-2019 06:35 AM
get object on mouse click Batigol Vizard 5 10-25-2012 09:03 PM
3ds Exported .IVE Model mirrors movement of Mainview Felix Vizard 9 05-18-2012 10:17 AM
Mouse bug in V3 and V4 Renato Lima Vizard 2 05-11-2011 07:38 PM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 12:01 PM


All times are GMT -7. The time now is 07:30 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC