Results 1 to 1 of 1

Thread: [VB6 & VB5] Gravity and Inertia

Threaded View

  1. #1

    Thread Starter
    Fanatic Member technorobbo's Avatar
    Join Date
    Dec 2008
    Location
    Chicago
    Posts
    864

    [VB6 & VB5] Gravity and Inertia

    Here's an interesting group of algorithms I developed while answering a post.
    It creates a beaded chain affected by gravity and inertia.

    Center of gravity" is created by using a vector intersection calc.
    Gravity is created by a Bezier control point plotted with a pythagorean theorem to control chain length.
    Inertia is plotted with a Proportional error calc from a PID loop.
    Attached Files Attached Files
    Last edited by technorobbo; Jul 17th, 2009 at 07:08 AM.
    Have Fun,

    TR
    _____________________________
    Check out my Alpha DogFighter2D Game Demo and Source code. Direct Download:http://home.comcast.net/~technorobbo/Alpha.zip or Read about it in the forum:http://www.vbforums.com/showthread.php?t=551700. Now in 3D!!! http://home.comcast.net/~technorobbo/AlPha3D.zip or read about it in the forum: http://www.vbforums.com/showthread.php?goto=newpost&t=552560 and IChessChat3D internet chess game

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