WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-21-2015, 07:10 AM
michael117s michael117s is offline
Member
 
Join Date: Oct 2015
Posts: 6
Question Proximity Help

Hi all!

I am having trouble with the proximity script. I have two objects,a shelf and a CD. I would like to place the CD on the shelf in a particular position on the shelf. I have placed a sensor on the shelf and made the CD a target using:

viz.proximity.Target(CD)

When I pick up the CD and move it within the bounding sensor that surrounds the shelf, I would like the CD to automatically move to a set position. So far I have used this:
def EnterProximity(e):
Disc1.setPosition([0,0.9,0])
I expected this to do the job but was unsuccessful. I would greatly appreciate help with this!

Thanks!!
Reply With Quote
 


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
Proximity Sensing Using Kinect JamesCakes Vizard 6 06-24-2016 06:52 AM
How to set the viewpoint as the proximity target in a Vizconnect configuration? jizh1000 Vizard 1 06-01-2015 12:18 PM
Orientation selective (Viewing Vector) Proximity Sensor lmGehrke Vizard 2 03-17-2015 01:31 PM
Proximity Sensor Problem kmkm Vizard 3 03-04-2014 12:54 PM
Phase Space and Proximity Sensors snovob93 Vizard 3 06-13-2012 01:32 PM


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


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