WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 04-21-2010, 10:42 PM
hahaho hahaho is offline
Join Date: Mar 2010
Posts: 6
cell(phone) vibration

Hi, i want to vibrate the cell(phone) steadly

so, i used this code.

import viz
cell = viz.add('phone.3ds')
cell.setPosition(0.11510615050792694, 1.6993328332901001, 1.0478180646896362)
ANCHOR_POS = (0.11510615050792694, 1.6993328332901001, 0.1478180646896362)
joint = viz.phys.addHingeJoint(cell,None,pos=ANCHOR_POS,ax is0=[0,0,1])

but the cell's vibration is more and more largely ...
later , the cell is Out of sight.
Reply With Quote
Old 04-22-2010, 11:55 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,465
What about using a sequence of vizact.move() commands to create the vibration?
Reply With Quote

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

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

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