Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

RopeGenMesh3D

An asset by Azumist
The page banner background of a mountain and forest
RopeGenMesh3D hero image

Quick Information

0 ratings
RopeGenMesh3D icon image
Azumist
RopeGenMesh3D

Allows for creating static procedural rope and rope-like geometry with collisions and LOD in Godot 4.3+

Supported Engine Version
4.3
Version String
2.1.0
License Version
MIT
Support Level
community
Modified Date
22 hours ago
Git URL
Issue URL

RopeGenMesh3D

Allows for the creation of procedural rope and rope-like geometry with collisions and LODs.
Important: this addon WILL NOT simulate dynamic ropes; its purpose is only to procedurally generate geometry.

README Generated cables

This addon consists of a single node that serves as a container. The RenderingServer is used to spawn geometry outside of the SceneTree. The geometry is created using ImporterMesh, with three additional levels of detail generated by skipping indices. Collisions can also be generated in a similar way using PhysicsServer3D.

The generated mesh will have its vertices colored as follows:

  • R channel: Specifies how close a vertex is to the "hook" (index point).
  • G channel: Divides 1.0 by the number of segments to calculate unit. Each vertex is assigned to a specific segment, calculated as unit * index. Can be used to break unison movement in the shader, or track the segment index for i.e. different textures in the shader.

There is a simple wind .gdshader file in the shaders directory that demonstrates how to use the vertex colors.

The node also includes a simple visual UV editor that allows for better placement of the generated mesh on a texture or trim sheet.

README UV Editor


As of now, RopeGenMesh3D exposes the following public API:

Signals

generation_finished
Emitted when mesh generation is complete.

Methods

func has_generated_mesh() -> bool
Returns true if there are active RIDs for meshes registered in the RenderingServer and valid RopeData present.

func calculate_global_point_at(rope_point_idx: int, factor: float) -> Vector3
Calculates a 3D point in global coordinates at the given index point of rope_data, interpolated toward the next index by factor. The resulting point is affected by the sag factor.
Use this method when you want to spawn objects “on” the rope.

Allows for creating static procedural rope and rope-like geometry with collisions and LOD in Godot 4.3+

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
RopeGenMesh3D icon image
Azumist
RopeGenMesh3D

Allows for creating static procedural rope and rope-like geometry with collisions and LOD in Godot 4.3+

Supported Engine Version
4.3
Version String
2.1.0
License Version
MIT
Support Level
community
Modified Date
22 hours ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers