Download

Physics engine for flying

Hi all,

I design a physic engine in C++ for make aircrafts flying (that take in account span wings, rudder, elevator, weight, polars…). My engine is able to give from tick to tick the new 3D vectors for translate and rotate an object.

To provide translate and rotate vector, my engine need to be call before a new frame is displayed. Is it un Unreal engine some callback to plug my engine in ?

Quadbyte

I’m not sure I understand, you want to call the code before the frame is drawn?

I don’t know if that’s even possible, the entire engine runs on the idea of ‘frames’. Most things including execution of gamecode are tied to the Frames-Per-Second. There’s probably (well, definitely) a way to decouple your code, but I don’t fully understand why you would want to?