-
Notifications
You must be signed in to change notification settings - Fork 401
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
Fairmotion Character Positioning via MOTION MouseMode #1552
Conversation
702eac1
to
d980785
Compare
FYI, just updated the Magnum color bindings to make things a bit easier for you: mosra/magnum-bindings@c50a2f6 . Will need to bump the submodule to see the new bindings. |
Resolved current change requests
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 video in description. Let's improve the UI description also. Be clear about which click and keys to use. Maybe use a bullet list similar to the help text.
When you re-defined the help text for this application you dropped the mouse legend. Let's add that back here and document the MOTION
mode there.
* Add MOTION mouse mode * Create and Remove functions for selector icon * Rotate and Translate feature in motion mode
Motivation and Context
Goal
With this PR merged, the Fairmotion viewer will have an additional mouse interaction mode called "MOTION".
Functionality
This mode allows users to select a loaded Fairmotion character and click to a desired location for the character and its motion. It also allows users to set rotation around the floor-normal axis by scrolling the mouse wheel with fine-grain rotating using the Shift key. These are useful features for positioning the character in the scene.
It is works in parallel with the Key Frame and Trajectory Object Previews, which gives the user the ability to foresee scene collision throughout the timeline of the motion for improved character placement choice.
Currently the Fairmotion viewer supports one character at a time and this PR feature is lightly coupled to that fact. In a future PR multiple character loading will be supported and this MOTION mode with expand to the same degree.
UI Mouse Commands
Here is a snippet of the Command Help Text to describe the utilities of this PR
Preview
Here is a preview of the feature in action where the feature is used to place the character's dribbling motion in the tight hallway:
Demo_Motion_Mouse_Postioning.mp4
How Has This Been Tested
The majority of this feature lives in the Fairmotion viewer application and was tested by running that application.
Types of changes
Checklist