An open API service indexing awesome lists of open source software.

https://github.com/csprance/better_cry

Work with CRYENGINE objects in an object oriented way
https://github.com/csprance/better_cry

Last synced: 9 months ago
JSON representation

Work with CRYENGINE objects in an object oriented way

Awesome Lists containing this project

README

          

# Better Cry
> Work with CRYENGINE objects in the editor in an object oriented way.

## Install
Drag and drop the `better_cry` folder into `Editor\Scripts`

## Usage
```python
from better_cry import Level
level = Level()
for item in level.selected:
# set an items position
item.position = [0,0,0]
# read its rotation
print(item.rotation)
print(item.scale)
# get the aabb of the item
print(item.bounding_box)
# get the width/height/depth x/z/y
print(item.width)
print(item.height)
print(item.depth)
```