Notifications
Clear all
[Closed] [SDK] Transforming only mesh, applying matrix and orientation
Apr 09, 2019 3:19 am
Hi,
My geometric object is build from several meshes that I combine.
I generate a mesh ex. Cylinder and Combine it. I have no problem with translation,
but I would like to orient my mesh in some direction before combining it to the rest of the final mesh.
The mesh class doesnt provide methods to operate on matrix as this issue is in INode.
I wonder how to apply a calculated matrix to mesh to have my mesh orinted in the direction I want.
3 Replies
Apr 09, 2019 3:19 am
What if you modify mesh points like this? <Matrix3>.TransformPoints ( Point3 * array, int n, intstride = sizeof(Point3) )