A Godot 4 GDExtension plugin that adds a SpringBody2D node, which applies a customizable spring effect to incoming RigidBody2D nodes using physics calculations.
- Copy the
addons/springbody2dfolder into your project'saddons/folder - Go to Project → Project Settings → Plugins
- Enable the SpringBody2D plugin
Requires a
CollisionPolygon2Das a direct child to function properly.
| Property | Description |
|---|---|
| Release Magnitude | Multiplier applied to the release force |
| Max Force | Upper limit on the release force |
| Min Buildup | Minimum velocity buildup before release |
| Threshold | Minimum dot product of velocity against the polygon wall required to trigger release |
| Growth Mult | Multiplier on the rate of buildup growth |
| Normal Weight | Weighting between the surface normal direction and the RigidBody2D's entry direction |
- Godot 4.3+
- Windows x86_64 (other platforms require building from source)
- To Modify you must download the gdextension c++ repository and place it in the root folder then run SConstruct
