Clips from newton-physics simulation to Unreal Engine 5 runtime
- exchange the simulation data with NewtonClips, a twin UE5 plugin
- replace viewers in
newton-physicsand convert simulation data - support
newton-physicsexamples with the least code change
pip install newton-clips
- run
newtonclips/example.py - find generated simulation data in
newtonclips.SAVE_DIR - use this directory in NewtonClips
import newtonclips # replace newton viewers implicitly
newtonclips.SAVE_DIR = '.clips' # set directory to save simulation data
# make sure you have installed the necessary external libraries
from newton.examples.basic import example_basic_shapes as example
import runpy
runpy.run_path(example.__file__, run_name='__main__')