Roberto,
Here’s how I would do something like this (using demo_IRR_collision_trimesh.py as an example):
color_updated = False
while(myapplication.GetDevice().run()):
if not color_updated and mysystem.GetChTime() > 5:
color_A.SetColor(chrono.ChColor(0.4, 0.4, 0.8))
myapplication.AssetUpdate(body_A)
color_updated = True
myapplication.BeginScene()
myapplication.DrawAll()
myapplication.DoStep()
myapplication.EndScene()
--Radu
--
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
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/dfcc3cbf-adbb-4592-9a74-278432740420n%40googlegroups.com.