Plotting graphs in UE5

Hey everyone,

I’m diving into Unreal Engine 5 and C++ to visualize conic sections. My current obsession is plotting parametric graphs on a fixed plane, and I’d love to keep things low-level with C++. I’ve got UE5 and Visual Studio set up, and I’m starting with a fresh blank project.

Here’s the plan: I want to throw a little sphere into my 3D space, lock its rotation to the z-axis to keep it 2D, and then make it trace out a shape based on a parameter ‘t.’ Picture a circle, where ‘t’ cruises from 0 to 2π, and the sphere’s coordinates jam to (cos(t), sin(t)).

I’m a bit tangled up on merging C++ with UE5’s panels and how to code the rules for these actors or tweak their properties on the fly. Any chance someone could drop a C++ script for a blank UE5 project to help me untangle things?

I’m open to any advice on navigating the C++ landscape in UE5 and turning these math ideas into code. Would love to hear your thoughts!

Hi Nova, Welcome to the Forums.

I’m reminded of the ‘Math Hall’ map in the Content Examples project.

It’s a completely different method than what you’re describing, but it does display curves on a graph. Just wanted to make sure you were aware!