Import STL file into matlab and use a transform object as a parent to move it in a 3D plot

18 views (last 30 days)
Hello, for university, I need to import an STL object into a 3D game built on matlab. Usually I create objects using the patch function and set a transform object as the parent to move it around the game. Is there a way to import the STL object into matlab as a patch or convert it to a patch. Or somehow use the transform object method to move the STL object around the game?

Accepted Answer

Yazan
Yazan on 22 Jul 2021
You can use this contribution to return the patch structs from a given stl file.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!