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

World System and Basic Physics #968

Merged
merged 21 commits into from
Mar 20, 2024
Merged

World System and Basic Physics #968

merged 21 commits into from
Mar 20, 2024

Conversation

HunterBarclay
Copy link
Member

@HunterBarclay HunterBarclay commented Mar 19, 2024

Description

This is the early stages of a core component to fission that I'm calling the World. It will be the glue between all other systems and will facilitate the main loop of the simulation. This will essentially replace the old SimulationRunner MonoBehaviour from our Unity code.

image
Mean machine spawned in. Note that collision is disabled between dynamic bodies and no jointing has been worked on yet.

Tasks

  • Create a mock up of the World and integrate the SceneRenderer and new PhysicsSystem into it.
  • Create the PhysicsSystem and begin adding support for Mirabuf provided data.
  • Successfully load Dynamic and Static Mirabuf assemblies.

Side Tasks

  • Added enum for changing core material used with mirabuf meshes. Options include Regular: standard phong shading material, Normals: show the normals of the surface via color, and Toon: a basic toon shader for a more cartoony effect.
  • Added an optional boolean to render Center of Mass vectors and wireframes of meshes.
  • Updated workflows and added unit testing and packaging workflow for fission

Unit Tests

  • Parser Jolt bodies from Dozer.
  • Parser Jolt bodies from Mean Machine.
  • Check that world isn't alive by default (ran into window global issues).

@HunterBarclay HunterBarclay self-assigned this Mar 19, 2024
@HunterBarclay HunterBarclay requested a review from a team as a code owner March 19, 2024 04:36
@HunterBarclay HunterBarclay requested review from PepperLola and a-crowell and removed request for a team March 19, 2024 04:36
@HunterBarclay HunterBarclay changed the title Fission: World World System Mar 19, 2024
@HunterBarclay HunterBarclay changed the title World System World System and Basic Physics Mar 19, 2024
Copy link
Member

@PepperLola PepperLola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to import 2471, Dozer, and the 2018 field and all behaved as expected.

@HunterBarclay HunterBarclay merged commit 610f890 into dev Mar 20, 2024
14 checks passed
@HunterBarclay HunterBarclay deleted the barclah/world branch March 20, 2024 02:25
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.

2 participants