Results 1 to 10 of 10

Thread: Simple Graphics Problem (please help)

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2010
    Posts
    6

    Simple Graphics Problem (please help)

    Hello guys

    This problem has been bugging me for a while now so hopefully one of your wonderful minds can solve it.

    I simply want to use the Line Shape in VB to create an "Inclined Plane"
    In order to do that I need two lines. One line should just be horizontal and the other line should change from being horizontal until it goes all the way up to 90 degrees (i.e. it's vertical)

    Question is:

    1. How do I make that line rotate from 0-90 degrees to the left

    2. How do I add a "mass" to the plane that "sticks" to the plane as I change the angle


    To sum things up and make this less confusing I simply want to make a program where someone can enter a value for the angle of an inclined plane and enter details such as the weight of the mass that is on that plane etc.

    Then click "Go" and that mass just "falls" down accordingly.

    It should look something like the image 1 attached.

    Image2 shows what I currently have done in VB.

    Hopefully you guys can point me in the right direction.

    Thanks.
    Attached Images Attached Images   

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width