Skip to content

That is a simple project just to show the equation of a catenary generating a curve in a rope (or wire) with procedural mesh in c# code

License

Notifications You must be signed in to change notification settings

tasaboia/Procedural-Rope-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Procedural-Rope-Generator

That is a simple project just to show the equation of a catenary generating a curve in a rope (or wire) with procedural mesh in c# code

(Catenary equation is the simulation of wire a catenary is the curve that an idealized hanging chain or cable assumes under its own weight when supported only at its ends.)

After found the curve points the code call a function to show the curves by segments. it is possible to choose what kind of segment you want to represent by Line Renderer or by a segments of PrimitiveType of unity. cube, sphere ...

You can use the catenary script at editor mode.

//

Um simples projeto para demonstar a formula da catenaria. A catenaria é uma equação para simular a força da gravidade em um fio (corda/linha) penturado em duas extremidades sem usar a física(hinge joint) da unity.

Após a função encontrar a curva em pontos ela chama outra função para representar a curta visualmente. Duas funções foram criadas, uma com line Rendere e outra com geração de segmentos de mesh. uma tentativa para Mesh procedural.

o script catenary pode ser usado em editor mode

About

That is a simple project just to show the equation of a catenary generating a curve in a rope (or wire) with procedural mesh in c# code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages