make_trail bug
Bruce Sherwood <[email protected]>
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <CAFDG03h595Kf5XyvkNa_+cWnm0FnjirQD-QU78D8vHKE2pQ1Og@mail.gmail.com> |
There's a bug in the make_trail option for leaving a trail when an object moves. Turns out that you have to update pos for the trail to be generated; updating just pos.x doesn't work: ball = sphere(make_trail = True) x = .01 ball.pos.x += x # does not leave a trail ball.pos += vector(x,0,0) # this works correctly Bruce Sherwood ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev