Skip to content

improvement: better gib starting positions#52

Open
WofWca wants to merge 3 commits intoec-:masterfrom
WofWca:baseq3a-better-gib-init-positions
Open

improvement: better gib starting positions#52
WofWca wants to merge 3 commits intoec-:masterfrom
WofWca:baseq3a-better-gib-init-positions

Conversation

@WofWca
Copy link
Contributor

@WofWca WofWca commented Nov 9, 2025

In the original game, all gibs start flying from one single point
(i.e. playerOrigin), which is sometimes noticeable.
Let's position the gibs closer to where they are supposed to be
anatomically. That is, legs go lower, head goes higher.

Note that bots seem to have their lerpAngles wrong, which is also evident by where bots' dead bodies face when they die. But for regular players this works well.

Here is the Ranger's box, which I took for reference:
ranger-box-maxs-mins

Screenshots

This is how it used to be before:
before-2-1 before2-2

How this MR makes it:

after-1 after-2

after-1 after-2

This is mostly a preparation for the rewrite of #51, for which it is nice to have properly positioned gibs.

This is in preparation to some gibs improvements.
In the original game, all gibs start flying from one single point
(i.e. `playerOrigin`), which is sometimes noticeable.
Let's position the gibs closer to where they are supposed to be
anatomically. That is, legs go lower, head goes higher.
@WofWca WofWca marked this pull request as ready for review November 9, 2025 17:54
@WofWca WofWca force-pushed the baseq3a-better-gib-init-positions branch from ffbc161 to ca4a10c Compare November 9, 2025 18:18
The previous commit added proper initial positions
to each individual gib.
And now it's time to also make sure
that they're facing the right direction.
@WofWca WofWca force-pushed the baseq3a-better-gib-init-positions branch from ca4a10c to 094661f Compare January 4, 2026 08:18
@WofWca WofWca mentioned this pull request Jan 9, 2026
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.

1 participant