-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
While using m.Rotate(BasicMesh, ...) the overridden rotate function gets only called on a copy of the BasicMesh, therefore the mesh objects and the respective Vertex Coordinates do not get updated. The rotation is visible but does not change the mesh.
To Reproduce
manim_triangle_pyramid = ManimMesh(mesh=create_pyramid(triangles_only=True), display_vertices=True, name="Tri Mesh")
self.add(manim_triangle_pyramid)
self.play(m.Rotate(manim_triangle_pyramid, angle=m.PI, about_point=m.ORIGIN, run_time=2.0))
manim_triangle_pyramid.move_vertex_to(vertex_idx=0, scene=self, pos=np.array([2, 2, 1]))
Expected behavior
Vertices faces and edges should be connected and updated correctly
Desktop (please complete the following information):
- OS: Windows and Linux
- Version 0.1.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed