Single sided ribbon

Hello. How can I create a single sided ribbon? sideOrientation doesn’t seem to have any effect. See: Babylon.js Playground Thank you.

pinging @jerome if available, the author of ribbon

You basically need to not close the path and use the both edges to define it like here:
https://www.babylonjs-playground.com/#1ZNT5E#3

This is way better detailed in the doc here: Create a Ribbon - Babylon.js Documentation

This also solves your normal generation as they do not reverse in the middle of the path

1 Like

As @sebavan explained, the pathArray is an array of paths (weird, isn’t it ?).

3 Likes

Excellent. Thank you very much!