Hi,

You need to modify your obj such that the up axis is Y. 

Best,
Thomas

On Wednesday, July 5, 2023 at 10:17:56 AM UTC-5 [email protected] wrote:

> Hello, 
>
> I am trying to add a .obj file as the terrain in the 
> demo_ROBOT_Viper_SCM.cpp file that was downloaded along with Chrono. I have 
> tried changing the "terrain.SetPlane..." line in the code; however, that 
> does not change the terrain's orientation. I am attaching some screenshots 
> that show part of my code (ObjFileTerrain), how the visualization first 
> comes up (ViperChrono), and the visualization again after some time 
> (ViperChrono2). I have not altered the original code in the .cpp file 
> besides the terrain and adding a "driver->SetSteering(steering_des)" where 
> steering_des is a double set to 10. Please let me know how I can correct 
> the terrain's orientation. Thank you!
>

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/6126e19c-9672-4020-9eb4-4e8c258642b8n%40googlegroups.com.

Reply via email to