WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-01-2015, 06:04 PM
blindberg blindberg is offline
Member
 
Join Date: Oct 2015
Posts: 7
"Rotation Grabber"?

I'm trying to grab a box and rotate it back and forth around the y-axis as I move the mouse, instead of translate it.

Is there an easy way to do this?
Reply With Quote
  #2  
Old 12-04-2015, 10:01 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Do you want to be able to translate/rotate the object that grabs (e.g. hand model) and then limit movements to rotations once the grab event is triggered? Do you have a tracking system or is this a desktop simulation?
Reply With Quote
  #3  
Old 12-05-2015, 09:13 AM
blindberg blindberg is offline
Member
 
Join Date: Oct 2015
Posts: 7
I'm looking to move a hand to a spot on an object and grab it, then rotate the object around a designated axis as i drag the hand around with the mouse (not necessarily rotating the hand, but definitely the object)

Trying to grab, say, a doorknob and have the door open and close a dynamic amount based on the mouse movement
Reply With Quote
  #4  
Old 12-14-2015, 07:54 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
In this case you could use the vizproximity library to detect the hand has touched or is near the door. Then check to see how much the mouse has moved and update the yaw value of the door each frame.
Reply With Quote
Reply

Tags
grabber, rotate

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
How to use grabber tool with wand? Samuli Vizard 1 11-03-2015 02:54 PM
Varying rotation speed with spinTo mape2k Vizard 2 03-22-2013 07:48 AM
Custom Joystick Rotation mhead10 Vizard 9 11-26-2012 12:06 PM
set bone rotation - cal3d munteanu24d Vizard 0 03-23-2010 04:25 AM
Unable to perform 360 rotation using vizact.spinto vijaykiran Vizard 2 09-29-2009 08:39 AM


All times are GMT -7. The time now is 12:36 PM.


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