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

Add rotation to integration #1305

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fallenatlas
Copy link
Contributor

@fallenatlas fallenatlas commented Sep 8, 2024

Description

Apply torque and angular impulses on integration to rotate the bodies.

Resources: https://research.ncl.ac.uk/game/mastersdegree/gametechnologies/physicstutorials/3angularmotion/Physics%20-%20Angular%20Motion.pdf

Checklist

  • Self-review changes.
  • Evaluate impact on the documentation.
  • Add entry to the changelog's unreleased section.

@fallenatlas fallenatlas self-assigned this Sep 8, 2024
@fallenatlas fallenatlas linked an issue Sep 8, 2024 that may be closed by this pull request
Copy link
Contributor

github-actions bot commented Sep 8, 2024

PR Preview Action v1.4.7
🚀 Deployed preview to https://GameDevTecnico.github.io/cubos/preview/pr-1305/
on branch gh-pages at 2024-09-08 19:10 UTC

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

⚠️ Clang-Tidy found issue(s) with the introduced code (1/1)

Copy link

codecov bot commented Sep 8, 2024

Codecov Report

Attention: Patch coverage is 0% with 35 lines in your changes missing coverage. Please review.

Project coverage is 36.20%. Comparing base (7a05b26) to head (56900aa).

Files with missing lines Patch % Lines
engine/src/physics/solver/integration/plugin.cpp 0.00% 31 Missing ⚠️
...nclude/cubos/engine/physics/components/inertia.hpp 0.00% 3 Missing ⚠️
engine/src/physics/plugin.cpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1305      +/-   ##
==========================================
- Coverage   36.25%   36.20%   -0.05%     
==========================================
  Files         395      396       +1     
  Lines       31537    31578      +41     
==========================================
  Hits        11433    11433              
- Misses      20104    20145      +41     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fallenatlas fallenatlas force-pushed the 1242-handle-body-rotation-on-integration branch from d054db1 to 56900aa Compare September 8, 2024 19:41
@fallenatlas fallenatlas marked this pull request as ready for review September 8, 2024 21:45
@fallenatlas fallenatlas requested review from a team and RiscadoA as code owners September 8, 2024 21:45
@fallenatlas fallenatlas added this to the 0.4 - ??? milestone Sep 8, 2024
Copy link
Member

@RiscadoA RiscadoA left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

cubos-bot bot commented Sep 11, 2024

@luishfonseca will only be able to review this PR in 5 days.

@luishfonseca
Copy link
Contributor

I should probably be removed from the list of reviewers during P1, I'll have more time again on P2 onwards

@RiscadoA RiscadoA requested review from a team, DiogoMendonc-a, tomas7770 and Scarface1809 and removed request for luishfonseca, a team, DiogoMendonc-a and Scarface1809 September 11, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle body rotation on integration
4 participants