Hello,
How to keep the item on the AGV in the same direction without changing the direction of the item because of any AGV turning.
Thank you in advance,
Hello,
How to keep the item on the AGV in the same direction without changing the direction of the item because of any AGV turning.
Thank you in advance,
Hi @steven.chen, was my answer helpful? If so, please click the red "Accept" button on the answer. Otherwise, feel free to comment back with more information so we can help. Thanks!
One way to do this would be to add the following code to the AGV's "On Draw" trigger.
if(current.subnodes.length > 0) { for(int i = 1; i <= current.subnodes.length; i++) { current.subnodes[i].as(Object).rotation.z = 0 - current.rotation.z; } }
This constantly changes the orientation of the object to be 0 minus the current rotation of the AGV. So, when the AGV is rotated 90 degrees, the item is rotated -90, or 0. Likewise, when an AGV is rotated -90 degrees, the item is rotated +90, or 0.
Here's the model that I built as an example. Let me know if this helps.
15 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved