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

Implement new AddWorldForces method for the PrefabUtils class #572

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

LeeTwentyThree
Copy link
Member

@LeeTwentyThree LeeTwentyThree commented Dec 20, 2024

Changes made in this pull request

  • Added a new AddWorldForces method to PrefabUtils.
    • Ensures the existence of the WorldForces (and Rigidbody) components and sets required properties. Also features some optional parameters.

Breaking changes

  • People who used a similar method for adding WorldForces who already had a Rigidbody on their prefab set in Unity/Thunderkit and migrated to this method might not realize that this mass property now does nothing if they fail to read (so... this affects basically nobody except me).

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.

1 participant