jamesmcm / gravity_field_godot

Simple gravity field simulation in Godot 4 for testing compute shader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gravity Field Godot

Simple Gravity Field simulation using Compute shader in Godot 4

Example GIF

The bodies on fixed Kepler orbits produce the field, which can then be used to affect other objects (although trying this with a RigidBody2D led to janky physics).

About

Simple gravity field simulation in Godot 4 for testing compute shader


Languages

Language:GDScript 87.9%Language:GLSL 12.1%