fabre.cedric Posted February 17, 2021 Share Posted February 17, 2021 (edited) Hello Unigine team, I would like to understand why the vertexs list of an ObjectMeshStaticPtr is not updated after scaling ? For exemple if I scale my object by 10 and after call getVertex(), the returned position is always the same before scaling. This is not a problem I can multiply by getWorldTransform() but I want to understand why...Maybe I made something wrong ? Thanks for you explanation :). Edited February 17, 2021 by fabre.cedric Link to comment
andrey-kozlov Posted February 18, 2021 Share Posted February 18, 2021 Hello, The method returns coordinates in object space (basically unaffected by any transformation). The transformation happens only on GPU side so world space coordinates aren't stored anywhere on CPU side. 1 Link to comment
fabre.cedric Posted February 18, 2021 Author Share Posted February 18, 2021 Well I understand thanks for your answer :) Link to comment
Recommended Posts