sceneview-android icon indicating copy to clipboard operation
sceneview-android copied to clipboard

ShapeNode ignores normal direction and is missing height parameter

Open dph-jan opened this issue 1 year ago • 0 comments

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?

dph-jan avatar Jan 15 '24 14:01 dph-jan