|
How I can create a cube using javascript with vectors? Example:
Thanks
(comments are locked)
|
|
If you mean a cube mesh, check out the documentation for the Mesh class in the Unity script reference, and (if you need further examples) the 'procedural mesh' example project on the Unity website.
(comments are locked)
|

This is an extremely under-defined question. "With vectors" is meaningless. You want these points to be corners of the final cube?