WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-15-2009, 11:44 AM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
The vizmat module has the functions you need:

Code:
if vizmat.AngleBetweenVector(partForwardVector, fittingForwardVector) < 5
and
if vizmat.Distance(partPos, fittingPos) < .1:
snappySnap()
__________________
Paul Elliott
WorldViz LLC
Reply With Quote
  #2  
Old 06-08-2009, 04:21 AM
minawageh minawageh is offline
Member
 
Join Date: Mar 2009
Posts: 6
Exclamation

Quote:
Originally Posted by Gladsomebeast View Post
The vizmat module has the functions you need:

Code:
if vizmat.AngleBetweenVector(partForwardVector, fittingForwardVector) < 5
and
if vizmat.Distance(partPos, fittingPos) < .1:
snappySnap()
thx very much for help but i can't understand this command could u plz explane what are the parameters and how can i atach the vectors to my objects
and i have onther problem with collision i have a complex shaps so i tried to use collidMesh but it didn't work as if i pick object it collide with others could you explane hoe to use it and if there any way to make collide shape for hollow cylinder
thx again
Reply With Quote
Reply

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
Need help with a project mberkes Vizard 14 05-27-2009 11:54 AM
New project need HELP minawageh Vizard 5 03-17-2009 03:17 PM
Project .avi or .mpeg file pattie Vizard 2 02-06-2007 08:09 AM


All times are GMT -7. The time now is 02:14 AM.


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