Skip to content

FTI - Add multimesh_instances_reset_physics_interpolation() #108114

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lawnjelly
Copy link
Member

Convenience function to allow resetting all instances on a MultiMesh at once, rather than calling individually per instance.

Notes

  • I had been meaning to add this function for a while, there had been several requests to make things easier for bulk resetting.
  • The naming is slightly confusing, as we have MultiMeshInstance as a scene node, but the MultiMesh resource contains instances themselves (which are reset here), but that naming seems to have been set in stone historically and can't easily be changed now.
  • An alternative might be to call the functions reset_all_instances... rather than reset_instances..., given that the current is very similar to reset_instance... used already, am happy to change if this is preferred.
  • Also applicable in 3.x.

Copy link
Member

@rburing rburing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good and API is useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants