A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: verlet and stiff springs

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Posts
    5

    verlet and stiff springs

    I am making some particle and spring/sticks simulation using verlet integration and constraints to keep the sticks the correct length.

    The stick become a bit springy though. They stretch and compress. Is there a good technique to make them completely stiff, keeping their restlength at all times (or just almost), without iterating the constraints many times?

  2. #2
    Senior Member ozmic66's Avatar
    Join Date
    Oct 2005
    Posts
    472
    well, no.. there really is no easy way other than iterating.
    I am sure though that there are techniques involving some more complex math which could be used though I've never tried any. Also, the performance hit may not even be worth it with languages like AS
    Pixelwave Flash-based iPhone framework
    iPhone Games: Flyloop | Freedom Run

    Twitter: Oztune

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

HTML5 Development Center