Skip to content
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

Added function to retrieve ShapeFrames from CollisionGroups #711

Merged
merged 1 commit into from
May 2, 2016

Conversation

mxgrey
Copy link
Member

@mxgrey mxgrey commented May 2, 2016

I wanted to be able to make deep clones of CollisionGroups, so I've added the ability to access the ShapeFrames of a CollisionGroup. The deep clone will still need to be done manually by the user for the time being for a variety of reasons, such as:

  1. ShapeFrame ownership is still a complex issue without a decisive solution.
  2. The deeply cloned CollisionGroup will probably need to belong to a different CollisionDetector, since the motive for deep cloning is usually multi-threading, and I can't think of an obvious API for automating this right now.

This change is Reviewable

@jslee02
Copy link
Member

jslee02 commented May 2, 2016

:lgtm:


Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@jslee02 jslee02 added this to the DART 6.0.0 milestone May 2, 2016
@jslee02 jslee02 merged commit e5cd20d into master May 2, 2016
@mxgrey mxgrey deleted the grey/getShapeFrame branch May 2, 2016 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants