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

Import/export collisions #84

Open
DoctorPresto opened this issue Nov 25, 2023 · 3 comments
Open

Import/export collisions #84

DoctorPresto opened this issue Nov 25, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@DoctorPresto
Copy link
Contributor

DoctorPresto commented Nov 25, 2023

Already implemented:

  • .phys collision import
  • .phys collision export
    • edit existing .phys only
    • same number of colliders
    • same number of vertices for convex colliders
  • import entColliderComponent
  • import entSimpleColliderComponent

-edit and recalculate rigidbody parameters

  • physmat
  • mass
  • volume
  • moment of inertia

To do:

  • Import/export for query filtering data, selectable query presets via dropdown
  • fix .phys import
  • custom .phys export
  • export entColliderComponent
  • export entSimpleColliderComponent
  • export worldCollisionNode

Maybe:

  • collision bodies from mesh parameters?
    • these aren't really necessary but it's only a couple extra lines to add, would this be useful? Anyone have any input?
@DoctorPresto DoctorPresto added the enhancement New feature or request label Nov 25, 2023
@DoctorPresto
Copy link
Contributor Author

a different approach which would need to be supported by wolvenkit, but would allow much easier and more user friendly implementation as well as be useful for running simulations within blender
https://github.com/eoineoineoin/glTF_Physics_Blender_Exporter/tree/54e721dd041226c73f517871ba29d18bfee139e8

@DoctorPresto DoctorPresto added this to the 1.6 milestone Jan 4, 2024
@DoctorPresto
Copy link
Contributor Author

added query filtering + presets to the todo

@DoctorPresto
Copy link
Contributor Author

.phys export currently requires old naming schema and for all collision objects + the collection to be selected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants