WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-04-2016, 12:43 PM
parisa parisa is offline
Registered User
 
Join Date: Aug 2016
Posts: 1
Position

Hi everyone
I am new here and I have a Question:
I am navigating in Piazza using my keyboard. How can I ask vizard to return my position every second to me in [x y z] format and also like a drawing format? (like a picture of a path i took like GPS for example)
I would appreciate it if someone help me
Thank you
Reply With Quote
  #2  
Old 08-05-2016, 03:32 AM
rajnishv rajnishv is offline
Member
 
Join Date: Jan 2016
Location: Kalina,Sanatcruz(East),Mumbai,Maharashtra,India
Posts: 94
Hi Parisa,
You may use the "node3d.getPosition()" inside the Update(): fuction called every 0 seconds using the timer function:

Code:
def myPostion():
mynode.getPostion("co-ordinate system") #you may use ur viewpoint as mynode to get ur position.
vizact.timer(0,myPosition)
and to draw you may use pls c to the link:
http://docs.worldviz.com/vizard/Changing_on-the-fly.htm


Regards
Mr.Rajnish Vishwakarma
Reply With Quote
Reply

Tags
position, positional tracking, return position, vizard

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Changing parent without changing absolute global position? The SundanceKid Vizard 2 05-23-2014 02:43 PM
Getting updated position Anastaggra Vizard 1 02-01-2014 12:15 AM
Set Mouse Position javadi Vizard 2 11-19-2013 03:59 AM
How to pass only 1 axis of the position signal from the source to the dest in a LINK? Zhi Vizard 2 04-04-2013 07:28 AM
Getting Position Lynnifer Vizard 1 07-16-2012 09:49 AM


All times are GMT -7. The time now is 08:59 PM.


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