[Tutor] vpython help

Steven D'Aprano steve at pearwood.info
Fri Apr 29 06:02:07 EDT 2016


Hi Daniel, and welcome,


On Thu, Apr 28, 2016 at 11:27:43PM +0000, Craig, Daniel Joseph wrote:
> To whom it may concern,
> 
> 
> I am writing a program where I have a ball with a position and 
> velocity reach a wall in 3D space.  I am able to drag the ball around 
> after it is done moving but I would like to be able to move the ball 
> prior to it moving towards the wall.  Is there a way to do this, any 
> help would be much appreciated. 

I'm sure there is a way, but please put yourself in our shoes. Read 
your message above, and, imagine that you know NOTHING else about your 
program than what you write above. What answer would you give?

"Yes, there is a way to do this. Write some more program code."

Please tell us what you have actually done. What graphics library are 
you using? How did you create the ball? What version of Python are you 
using, on what operating system (Linux, Mac OS, Windows, Android, 
something else)?


-- 
Steve


More information about the Tutor mailing list