I want to port some code from THREE.js to PlayCanvas.
Has someone done such thing.
What is similar to this, eg:
https://threejs.org/docs/#api/en/geometries/PlaneBufferGeometry
I want to port some code from THREE.js to PlayCanvas.
Has someone done such thing.
What is similar to this, eg:
https://threejs.org/docs/#api/en/geometries/PlaneBufferGeometry
The closest we have is the Mesh API which can be used to generate any mesh.
https://playcanvas.github.io/#graphics/mesh-generation.html
I believe we also have a createPlane function somewhere too.
Edit: here we go:
@yaustar, brilliant, thanks!
Here i found this basic project
https://playcanvas.com/project/559360/overview/tutorial-procedural-mesh