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

Merged

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).

@LeeTwentyThree LeeTwentyThree merged commit 5b1a2b5 into SubnauticaModding:master Dec 26, 2024
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant