← Back to team overview

yade-users team mailing list archive

Re: [Question #678646]: tracking a particle

 

Question #678646 on Yade changed:
https://answers.launchpad.net/yade/+question/678646

Vasileios Angelidakis posted a new comment:
For visual inspections you could also highlight it, to track its
position in real-time, using:

###
O.bodies[id].shape.highlight=True
###

or color it differently from the other particles with:

###
O.bodies[id].shape.color=[0,255,0] # for a green particle
###

All the best,

Vasileios

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.