-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to setobject! in atframe #134
Comments
Really, I'm not sure that this is even a supported use-case, but I'm trying to update a LineSegment object once per frame, and can't think of a better way to do it than Thanks for meshcat, it's a pleasure to use. |
Hey, sorry for the late reply. Yes, you're right this doesn't work, but we should give a more helpful error message. The problem is that, as far as I know, there's no way to cause Three.js to spawn an object as part of an animation. Instead, I think you should be able to get this to work by adding the object ahead of time and then setting the |
Thanks for the feedback! For my use case, that seems like quite a lot of hidden objects sitting around, but I'll keep it in mind. |
The animation demo notebook now more explicitly talks about using |
@rdeits is this workaround also suitable for large datasets like visualizing huge LIDAR datasets? I come to the same error message with "> type DataType has no field body" and want to test it by changing my code with setvisible!... |
MWE:
Output:
The text was updated successfully, but these errors were encountered: