I'm using my own engine, and I have a callback system setup to draw like so:
m_system->GetCollisionSystem()->Visualize(ChCollisionSystem::VIS_Shapes |
ChCollisionSystem::VIS_Aabb);
This works fine for my chassis.
But for my wheels and tires it doesn't.
My wheel set's its visual mesh file via:
m_vis_mesh_file = "Meshes/Collision/LeftWheel.obj";
and my tire's visualize mesh via:
void RangeRoverSport_TMeasyTire::AddVisualizationAssets(VisualizationType
vis)
{
if (vis == VisualizationType::MESH)
{
m_trimesh_shape = AddVisualizationMesh(m_meshFile_left,
m_meshFile_right);
}
else
{
ChTMeasyTire::AddVisualizationAssets(vis);
}
}
but perhaps this is only meant for visualizing with irrlicht and doesn't
support drawing out to my own engine?
Thanks!
-JC
--
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/a3a0f0fe-479e-4575-9f9d-3ee84fbf21a9n%40googlegroups.com.