-
Notifications
You must be signed in to change notification settings - Fork 54
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
God Mode: Physics #990
God Mode: Physics #990
Conversation
…method on PhysicsSystem
…ura/1675/god-mode-physics
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like the joint is creating some odd behavior, especially as the joints kind of fail to get into compliance with any urgency. See specifics below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestions for adding controllable anchor point along with ghost body
@Ewie21 Could you make sure you specify the mPoint1 and mPoint2 of the point constraint to be the anchor point. When driving the robot off the platform and testing the godmode, the anchor point is still defaulted to the origin of the world since the points are not set. |
@Ewie21 It looks like one of the unit tests is failing; however, if I run it separately, it works. I think we may be hitting the memory limit. I'm going to try and see if I can find some more information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So cool!
From Autodesk/synthesis : colbura/1675 now? It looks a commit ahead.
@HunterBarclay what are you looking for? Ghost body in the same place as the robot's initial position and worrying about gravity later?
@a-crowell We'll worry about it later. My raycasting code will supply the initial contact point and the ghost body will act as the maneuver node for moving the connected assembly around. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! We can ignore the issues with unit testing for now. They are being addressed in #996
@Ewie21 Could you fix the merge conflict and update your fork branch to the |
…ura/1675/god-mode-physics
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a quick double check after the merge then. Awesome job!
Description
Created a function to create and attach a "ghostBody" to some other body using a SwingTwist (Ball and Socket) constraint. The ghostBody's purpose is to control the original body, changing the position of the ghostBody will "swing" the original body along with it. The intention of this function is to be called when a user in "god mode" clicks on an object.
Objectives
Testing Done
JIRA Issue