Screenshots     Download     Pricing     Docs     Tutorials     Resources     Contact     Forum     Search  

This Thread

 New Post   Forum Index 

Vb script to determine ball in region
Azim from Malaysia  [7 posts]
1 year
I need help to determine ball position in 4 quadrant, which is quadrant 1 to quadrant 4 by using the line as  i attach the picture for reference. Also how write the vbscript for line to relate the positon of ball,

Thanks in advance .


Steven Gentner from United States  [1320 posts] 1 year

A couple of If_Statements checking the COG of the object should do it. Note, the specific quadrant labels are probably NOT what you want ... but you should be able to figure out how to change them to the correct 1,2,3,4 labels.

See attached.


This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index 

© 2005 - 2017 RoboRealm. All Rights Reserved. | Contact | Privacy | Disclaimer | Link to Us |