View Single Post
  #1  
Old 12-13-2017, 12:38 PM
Mattrat3000 Mattrat3000 is offline
Registered User
 
Join Date: Dec 2017
Posts: 1
Object Collision

Hi all,
I had a question regarding object collision. Currently, our program is setup to do certain triggers when you reach a certain point within a maze.

For example, when you reach object A, start back at the starting point then go to object B, and reach object B you go back to starting point etc.

However, it is currently setup strictly based on coordinates, so when things get scaled, it gets messed up. For example, end_coordinates = 500,200, 300 when coordinates = 500,200,300 the loop starts over with next trial. I was wondering, if there is a way to call on the objects within the 3ds max file and grab their coordinates within viz/python.

For example, when you reach object A (table.vizgetcoordinates or table.vizdetectcollision) or something like these made up commands but didnt know what the command would be to pull coordinates for an object within the 3ds max created environment.
Thank you,
Matt
Reply With Quote