Knowledge Base

Article Number: 5 | VC6 | VC5 | VC4 | VC3 | Post Date: June 30, 2016 | Last Updated: June 30, 2016


I purchased a third-party vehicle mesh, but when I drag and drop the vcm file onto a vehicle from the database, the mesh isn't oriented correctly. What's going on?

When you use a third-party mesh, there are no guarantees on how the creator oriented the vehicle when the 3ds or dxf file was saved (before you downloaded it). The first step when working with a third-party mesh, is to properly orient it in your workspace. In the User's Guide, we showed that the vehicle mesh needed to be rotated by 90 degrees in yaw to properly orient it. This is also shown in the video:

The reason the mesh needed to be rotated was because its heading was off by 90 degrees in yaw. But, that was specific to that particular mesh. In general, you'll just need to ensure your vehicle's heading is at yaw = 0 degrees. The best way to do this, as was demonstrated in this blog post, is to first make a "test vehicle" from the left side control panel to confirm the proper orientation in your workspace. All vehicles from the Virtual CRASH database import at the correct default orientation. Match your third-party mesh's orientation to match the heading of the Virtual CRASH model. Once you do this you are guaranteed to have agreement when you import your vcm file.

In the figure above, we see the imported BRZ model is oriented along the Earth frame y-direction (yaw = 90 degrees). So, if one tries to use it as a mesh for a pre-existing vehicle, the mesh will be imported with heading at yaw = 90 degrees. The BRZ mesh first needs to be rotated such that its heading is pointing along the Earth frame x-axis (yaw = 0 degrees). The quickest way to ensure you know what direction the Earth frame x-axis is pointing along, is to simply bring in a "test" vehicle model from the database, which already will already have its heading at yaw = 0 degrees. Using this to sample the Earth frame x-axis direction, you can then easily correct your third-party mesh's orientation. 



Tags: Vehicle won't import correctly, error importing, dxf mesh, 3ds mesh, wrong orientation, wrong way.


© 2021 Virtual CRASH, LLC. All Rights Reserved