WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-09-2021, 10: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, 09: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 05:35 AM
get object on mouse click Batigol Vizard 5 10-25-2012 08:03 PM
3ds Exported .IVE Model mirrors movement of Mainview Felix Vizard 9 05-18-2012 09:17 AM
Mouse bug in V3 and V4 Renato Lima Vizard 2 05-11-2011 06:38 PM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 11:01 AM


All times are GMT -7. The time now is 10:24 PM.


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