Skip to content

Add missing physics collision classes and more#1820

Open
redstrate wants to merge 4 commits into
aers:mainfrom
redstrate:work/redstrate/collision-n-shit
Open

Add missing physics collision classes and more#1820
redstrate wants to merge 4 commits into
aers:mainfrom
redstrate:work/redstrate/collision-n-shit

Conversation

@redstrate
Copy link
Copy Markdown
Contributor

This adds a heaping pile of physics classes we were missing, and a bunch of other stuff to make reading this code not a giant pain. See individual commits for reasoning/details.

@redstrate redstrate force-pushed the work/redstrate/collision-n-shit branch from 884f3e2 to 188ad70 Compare May 9, 2026 03:49
redstrate added 3 commits May 9, 2026 14:29
There was a bunch of (potentially useful) physics classes that haven't
been created yet, which contain data about collisions and constraints.
I didn't map out their fields and vfuncs yet, but the inheritance
structure as detailed in classinformer is now set up.

Collision objects are kept in BonePhysicsModule, and constraint objects
are kept in BoneSimulator.
More documentation is added for the existing job data, and then I mapped
out the one used for updating collision objects now that we have those.

There's also a function used to allocate and create the job data in
BonePhysicsModule which is useful to know about.
This is used to load the PHYB resource file and was helpful in figuring
out how collision data was structured.
@redstrate redstrate force-pushed the work/redstrate/collision-n-shit branch from 188ad70 to a37b3de Compare May 9, 2026 18:29
The fields were found in the Load function and correspond to how
VFXEditor claims they are used (hence why the naming is taken from
there.)

The functions are for making the disassembly automatically more
readable.
@redstrate redstrate force-pushed the work/redstrate/collision-n-shit branch from a37b3de to c35dbbb Compare May 13, 2026 20:56
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