N
N
Noortvel2015-11-02 22:53:37
Python
Noortvel, 2015-11-02 22:53:37

UnrealEngine 4 + Python. Is it possible?

Is it possible to use python in UE4 development? I just read somewhere about inserting python scripts into C / C ++ code. If possible, how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergelove namaissur, 2017-02-01
@Noortvel

It is possible and sometimes very necessary.. )
LINK TO PLUGIN

This is a plugin embedding a whole Python VM (versions 3.x [the default and suggested one] and 2.7) In Unreal Engine 4 (both the editor and runtime).
The Python VM tries to give easy access to all of the UE4 internal api + its reflection system. This means you can use the plugin to write other plugins, to automate tasks and to implement gameplay elements.
It is not meant as a way to avoid blueprints or c++ but as a good companion to them (albeit reducing the amount of c++ required for coding a game could be an interesting thing ;). If your development pipeline is already python-based (Maya, Blender, ...), this plugin could easily help you in integrating unreal into it.
Another funny feature is that you can change your python code even after the project has been packaged. You can potentially build a completely new game from an already packaged one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question