Screenshots     Download     Pricing     Docs     Tutorials     Resources     Contact     Forum     Search  

This Thread

 Reply  New Post   Forum Index 

Vb script to determine ball in region
Muhammad Al 'Azim Bin Mohd Ariff from Malaysia  [2 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  [1270 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.


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