Skip to main content
gamedev.net
🔒 Locked

Simulating a String in 3d

Started by Ranger_One Oct 20, 2001 at 4:36 PM 1 replies 350+ views
Original Post
Ranger_One
Ranger_One
Hi, How could one go about simulating a string in three dimensions? I''m not worried about the render so much as the math behind the movement of the string. I assume you would define a set number of points that represent the string, each being a 3d vector representation of a linear point of the string. But how could you move and end and make the string swing/wave properly? Any info would be appreciated, Ranger
Oluseyi
Oluseyi
Look up bezier curves and splines. You''ll want each point to pass its "energy" on to the next, so that there''s a fluttering effect with varying force and a gentle settling effect when the application of force (such as wind, or waving the string) stops.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.