Linear Algebra and Calculus in Godot

Godot Version

4.5 Sable

Question

Good afternoon! I’m working with circuit simulation inside Godot (more speciifcally, making a Circuit Simulator) and would like to know if it is possible to use operations like integration and derivation in Godot.

1 Like

Godot is a game engine, which processes graphics, so there you have it, linear algebra.

  • 2D
    • Transform2D: 2x2 matrix with position
  • 3D
    • Basis: 3x3 matrix
    • Transform3D: 3x3 matrix with position
    • Projection
    • Plane

However, calculus needs a way to represent math expressions, so do it your self, or find libraries of C# etc.

1 Like

I ended up choosing to make a GDExtension along with the LargeLinearAlgebra extension

I’m not gonna lie, it’s so good to have docs in the current 4.5 version about C++ coding. And I have to dig in into like every C++ file of stuffs I’m going to use, those tough times.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.