Skip to content

Throwables origin clipping into ground workaround#649

Merged
AdamTadeusz merged 1 commit intoNeotokyoRebuild:masterfrom
AdamTadeusz:058_throwablesOriginInGroundWorkaround
Sep 26, 2024
Merged

Throwables origin clipping into ground workaround#649
AdamTadeusz merged 1 commit intoNeotokyoRebuild:masterfrom
AdamTadeusz:058_throwablesOriginInGroundWorkaround

Conversation

@AdamTadeusz
Copy link
Copy Markdown
Contributor

Description

give viewoffset so origin always appears above ground when dropped when performing a cansee calculation

Toolchain

  • Windows MSVC VS2022
  • Linux GCC Distro Native [Specify distro + GCC version]
  • Linux GCC 10 Sniper 3.0

Linked Issues

@AdamTadeusz
Copy link
Copy Markdown
Contributor Author

It's easiest to see the change with a detpack. In this video a change was made with hotreload so that the first smoke grenade and first detpack were spawned without the fix, and the next smoke grenade and detpack were spawned with the fix. As you can see I can pick up the detpack when its origin is at the same height above(below) ground as the first detpack. Harder to get the grenade in the right orientation but it works with the two grenades too.

untitled.mp4

@nullsystem nullsystem requested a review from a team September 25, 2024 22:36
@nullsystem nullsystem added the Release priority Pull request is a priority for the next release label Sep 25, 2024
@nullsystem nullsystem added this to the v8.2-prealpha milestone Sep 25, 2024
@AdamTadeusz AdamTadeusz merged commit ca7e06d into NeotokyoRebuild:master Sep 26, 2024
@AdamTadeusz AdamTadeusz deleted the 058_throwablesOriginInGroundWorkaround branch January 24, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Release priority Pull request is a priority for the next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Picking up Grenades and Detpack

3 participants