Skip to content

Clips from newton-physics simulation to Unreal Engine 5 runtime

License

Notifications You must be signed in to change notification settings

doidio/newton-clips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

newton-clips

Clips from newton-physics simulation to Unreal Engine 5 runtime

  • exchange the simulation data with NewtonClips, a twin UE5 plugin
  • replace viewers in newton-physics and convert simulation data
  • support newton-physics examples with the least code change

Install

pip install newton-clips

Getting started

  1. run newtonclips/example.py
  2. find generated simulation data in newtonclips.SAVE_DIR
  3. use this directory in NewtonClips

How to run newton.examples

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__')

About

Clips from newton-physics simulation to Unreal Engine 5 runtime

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages