Title: Fix: Tracer origin going offscreen by KMatias123 · Pull Request #205 · lambda-client/lambda · GitHub
Open Graph Title: Fix: Tracer origin going offscreen by KMatias123 · Pull Request #205 · lambda-client/lambda
X Title: Fix: Tracer origin going offscreen by KMatias123 · Pull Request #205 · lambda-client/lambda
Description: If you try to sprint with view bobbing on and tracers in the crosshair mode the center where they all "point" will move around due to view bobbing. This is annoying. This commit fixes it in a way that just moves the "start of the tracers" away from the camera so the movement is not as noticeable. In the future it can also be fixed by completely negating the movement from the camera.horizontalPlane. This is the kotlin code for calculating the bobbing if someone wants to calculate the bobbing and implement a better solution. val clientPlayerLikeState: ClientPlayerLikeState = player.state val reverseSpeed = clientPlayerLikeState.getReverseLerpedDistanceMoved(tickDelta) val progress = clientPlayerLikeState.lerpMovement(tickDelta) val verticalBob = abs(cos(reverseSpeed * PI.toFloat() - 0.2f) * progress) * 0.1f val horizontalBob = sin(reverseSpeed * PI.toFloat()) * progress * 0.05f val result = Vec3d(horizontalBob.toDouble(), verticalBob.toDouble(), -1.0) I just put this here cuz I don't want anyone else to have to be without tracers :3
Open Graph Description: If you try to sprint with view bobbing on and tracers in the crosshair mode the center where they all "point" will move around due to view bobbing. This is annoying. This commit fixes it ...
X Description: If you try to sprint with view bobbing on and tracers in the crosshair mode the center where they all "point" will move around due to view bobbing. This is annoying. This commit f...
Opengraph URL: https://github.com/lambda-client/lambda/pull/205
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1a15b13c-9f59-fcef-7333-a0fbc8e13b44 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A4C0:17F0C5:75F5676:9906386:697E5925 |
| html-safe-nonce | 7e37b93d2233fff87842bf6c8cfa29819c39c04ce41df7f9544512c8fcb883cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEMwOjE3RjBDNTo3NUY1Njc2Ojk5MDYzODY6Njk3RTU5MjUiLCJ2aXNpdG9yX2lkIjoiMjAwMTM5OTA5ODkyOTczMTg3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fa0b87183c5d6c43c5419a0f06eac8188135e03633b7662c6fd2e2362fa858e1 |
| hovercard-subject-tag | pull_request:3120743508 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/lambda-client/lambda/pull/205/files |
| twitter:image | https://avatars.githubusercontent.com/u/43719568?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/43719568?s=400&v=4 |
| og:image:alt | If you try to sprint with view bobbing on and tracers in the crosshair mode the center where they all "point" will move around due to view bobbing. This is annoying. This commit fixes it ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/lambda-client/lambda git https://github.com/lambda-client/lambda.git |
| octolytics-dimension-user_id | 83095891 |
| octolytics-dimension-user_login | lambda-client |
| octolytics-dimension-repository_id | 766421525 |
| octolytics-dimension-repository_nwo | lambda-client/lambda |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 766421525 |
| octolytics-dimension-repository_network_root_nwo | lambda-client/lambda |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width