Skip to content

Conversation

@dfb
Copy link
Contributor

@dfb dfb commented Dec 5, 2018

This patch makes it so you can get the BoxSphereBounds from a UStaticMesh object:

    from unreal_engine.classes import StaticMesh
    sm = unreal_engine.load_object(StaticMesh, '/Game/Meshes/...')
    b = sm.get_static_mesh_bounds()
    print(b.BoxExtent, b.SphereRadius)

@rdeioris rdeioris merged commit e73b3f2 into 20tab:master Dec 6, 2018
@rdeioris
Copy link
Contributor

rdeioris commented Dec 6, 2018

Thanks

@dfb dfb deleted the pr_get_static_mesh_bounds branch December 6, 2018 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants