-
-
Notifications
You must be signed in to change notification settings - Fork 23.6k
Add Deterministic option to IterateIK3D #112524
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
TokageItLab
wants to merge
2
commits into
godotengine:master
Choose a base branch
from
TokageItLab:deterministic-ik
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,283
−135
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <class name="BoneExpander3D" inherits="SkeletonModifier3D" experimental="This SkeletonModifier3D interferes with the Skin in a slightly unsafe way. Performance and stability have not been sufficiently optimized." xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> | ||
| <brief_description> | ||
| Scales the visual appearance of the specified bone without causing shear in the children. | ||
| </brief_description> | ||
| <description> | ||
| Scales only the visual appearance without changing the bone pose scale. This is achieved by modifying the bone pose position and skin bindings instead of the bone pose scale. In other words, the only thing other modifiers can obtain from this modifier via the bone is the bone pose position. | ||
| If you use [BoneExpander3D] with [IKModifier3D] or [SpringBoneSimulator3D], you should enable [member IKModifier3D.mutable_bone_axes] and [member SpringBoneSimulator3D.mutable_bone_axes]. | ||
| [b]Note:[/b] Changing the skin is not a role of the [SkeletonModifier3D] originally, so combining it with [RetargetModifier3D] or baking IK animation to FK animation may result in unintended behaviors. | ||
| </description> | ||
| <tutorials> | ||
| </tutorials> | ||
| <methods> | ||
| <method name="clear_setting"> | ||
| <return type="void" /> | ||
| <description> | ||
| Clears all settings. | ||
| </description> | ||
| </method> | ||
| <method name="get_bone" qualifiers="const"> | ||
| <return type="int" /> | ||
| <param index="0" name="index" type="int" /> | ||
| <description> | ||
| Returns the scaled bone of the setting at [param index]. | ||
| </description> | ||
| </method> | ||
| <method name="get_bone_name" qualifiers="const"> | ||
| <return type="StringName" /> | ||
| <param index="0" name="index" type="int" /> | ||
| <description> | ||
| Returns the scaled bone name of the setting at [param index]. | ||
| </description> | ||
| </method> | ||
| <method name="get_bone_scale" qualifiers="const"> | ||
| <return type="Vector3" /> | ||
| <param index="0" name="index" type="int" /> | ||
| <description> | ||
| Returns the scale of the setting at [param index]. | ||
| </description> | ||
| </method> | ||
| <method name="set_bone"> | ||
| <return type="void" /> | ||
| <param index="0" name="index" type="int" /> | ||
| <param index="1" name="bone" type="int" /> | ||
| <description> | ||
| Sets the scaled bone of the setting at [param index]. | ||
| </description> | ||
| </method> | ||
| <method name="set_bone_name"> | ||
| <return type="void" /> | ||
| <param index="0" name="index" type="int" /> | ||
| <param index="1" name="bone_name" type="StringName" /> | ||
| <description> | ||
| Sets the scaled bone name of the setting at [param index]. | ||
| </description> | ||
| </method> | ||
| <method name="set_bone_scale"> | ||
| <return type="void" /> | ||
| <param index="0" name="index" type="int" /> | ||
| <param index="1" name="scale" type="Vector3" /> | ||
| <description> | ||
| [b]Note:[/b] The [param scale] value is recommended to be non-zero. | ||
| </description> | ||
| </method> | ||
| </methods> | ||
| <members> | ||
| <member name="setting_size" type="int" setter="set_setting_size" getter="get_setting_size" default="0"> | ||
| The number of setting in the modifier. | ||
| </member> | ||
| </members> | ||
| </class> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.