sceneview-android
sceneview-android copied to clipboard
ShapeNode ignores normal direction and is missing height parameter
I'm trying to use the new ShapeNode in version 2.0.2 by using the constructor with an engine, a list of Position2 coordinates, a normal vector and an material instance. However, the normal vector seems to be ignored, so the shape isn't rendered in the correct plane, and I'm not sure how to set a height value like for the CylinderNode. Currently, it's just a flat 2D shape. Do you have an example of how to render a 3D Polygon / Prism?