https://github.com/csprance/cryengine_simulate_brush
Python script to simulate physics on a brush in CRYENGINE.
https://github.com/csprance/cryengine_simulate_brush
Last synced: about 1 year ago
JSON representation
Python script to simulate physics on a brush in CRYENGINE.
- Host: GitHub
- URL: https://github.com/csprance/cryengine_simulate_brush
- Owner: csprance
- License: gpl-3.0
- Created: 2018-06-15T15:22:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-15T15:32:54.000Z (almost 8 years ago)
- Last Synced: 2025-02-06T05:31:22.773Z (over 1 year ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cryengine_simultate_brush
> Python script to simulate physics on a brush in CRYENGINE.
## Installation
* Copy the simulatebrush.py file to Editors/Scripts
* Copy the user_values folder to Editor/Scripts
* Copy the simulate_brush_shelf to Editor/Scripts/Shelves
# How to use
* Select a brush
* Click the SimBrush shelf button or run the script from the Python Scripts pane
* This is will add a special material to the object and convert it to a RigidBodyEx and simulate it
* Once the model has simulated click the SimBrush button again to convert it back to a brush
* Undoing a simulation results in about 3-4 undos so you must undo it multiple times (or alternatively just move the brush and simulate it again rather than undoing.)