Yulin,
The orientation of each rigid body is set by the central particle's "orientation" attribute. The positions of constituent particles (if they exist) will be overwritten. You set the to [1,1,1,1] in your script which is why all bodies have the same orientation in your image.
Note that [1,1,1,1] is not a valid rotation quaternion. That may or may not explain why your bodies do not rotate.
------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan
> --
> You received this message because you are subscribed to the Google Groups "hoomd-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
hoomd-users...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/hoomd-users/7f7b58f8-3b05-49f0-94aa-339e45d3dbd9n%40googlegroups.com.
> <new.py><test.gif><xml.png>