wibbes
April 23, 2023, 3:18pm
1
Hi all.
Please move if needed.
I’m looking to make a simulation package in unity and would like to build a UI around the simulation similar to unity’s ide or say cad programs
Is this possible? Or any recommendations of over engines that would be more suitable
huwp
April 25, 2023, 4:09am
2
Even if you were using some of the best software libraries for the job (Qt, MFC, etc), it’s very difficult to make a full consistently working IDE.
Yes, it’s possible. But you’re going to need an experienced UI programmer at minimum.
mgear
April 25, 2023, 5:04am
3
can also embed unity inside WPF, can find topics like:
I'm trying to integrate a unity application (.exe) inside a WPF XAML application. I've managed to get the unity window to open inside the WPF window, but it's stuck in the top left corner of the window and does not resize when I resize the WPF window.
Here is my code, the unity application is called (unityWindow.exe):
MainWindow.xaml
<Window x:Class="UnityApplicationIntegration.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://sch…
wibbes
April 25, 2023, 9:26am
4
That’s promising. Does this mean I would have to build the simulation then put it inside the wpf. Or could I co develop them together
mgear
April 25, 2023, 9:54am
5
anything should be possible…
unity could be just for displaying the 3d viewer,
or it could contain simulation code too (that you control from wpf UI)
or any other combination…
wpf might have easier access to better nuget packages for simulations or advanced math…
python could be used in background too, since its often used for simulations.
wibbes
April 25, 2023, 12:49pm
6
Any ideas on making wpf a viewer ?
mgear
April 25, 2023, 2:29pm
7
test embedding unity build there first
https://zhuanlan.zhihu.com/p/272109059
or look for examples
Wayback Machine *actually that seems to be for winforms
github unity wpf - Google Search