# Acausal modeling and Unreal Engine

**URL:** https://discourse.julialang.org/t/acausal-modeling-and-unreal-engine/111016
**Category:** Modelling & Simulations
**Tags:** modelingtoolkit, modelling, games
**Created:** [March 1, 2024, 2:12pm UTC](https://discourse.julialang.org/t/acausal-modeling-and-unreal-engine/111016 "2024-03-01T14:12:40Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)
#### Post date: [March 1, 2024, 4:31pm UTC](https://discourse.julialang.org/t/acausal-modeling-and-unreal-engine/111016/6 "2024-03-01T16:31:49Z")

</div>

If you let the game engine drive the loop, you could easily implement a julia function that the game engine calls each sample instant to retrieve the state of the quadrotor. This function would be stateful, and advance the state of the quadrotor dynamics model a fixed step and output the new state. This would not need any hacks

---

_[View the full topic](https://discourse.julialang.org/t/acausal-modeling-and-unreal-engine/111016)._
