Ploaj / SSBHLib

A library for dealing with SSBH rendering format
30 stars 18 forks source link

Load/edit swing.prc to preview physics #75

Open futcharist opened 3 years ago

futcharist commented 3 years ago

Feature request to load swing.prc from /motion in tandem with animations, allow users to edit parameters within program to preview swing bone physics changes.

ScanMountGoat commented 3 years ago

This would definitely be a cool feature, but adding an accurate recreation of the game's physics engine would be non trivial. I wouldn't expect something like this to happen any time soon unless someone is willing to invest a lot of time into it.

futcharist commented 3 years ago

I've thought of something else: enabling a visual representation of the spheres/ellipsoids/etc and collision boundaries that are loaded from swing.prc. While implementing the physics is a big, crazy ask, I think this might be a good compromise. Being able to resize these boundaries in program would help in the creation of and understanding of how the game treats its physics bound objects.

ScanMountGoat commented 3 years ago

We have all the necessary code to load prc files and code to render all the shapes we would need (spheres, capsules, etc). While it's not a big priority at the moment, this is definitely something that could show up in a future release.