objects/mine_cart: add Mine Cart control#5323
Conversation
|
Download the built assets for this pull request: |
|
Testing (in progress):
|
|
Fixed the braking - I wasn't doing a gradual deceleration when braking, rather immediately applying it as the speed. Note that this breaks the recording, so will need a fresh test. |
Thank you @lahm86, the prior issue is fixed.
|
|
Thanks, @aredfan. Should hopefully be improved. |
|
Thank you @lahm86, the interpolation looks good. 👍
OG videoOG.mp4 |
|
OG looks pretty buggy to be fair 😄 |
This ensures the HUD shows the game object for Lara's current vehicle, and is updated for TR3 types.
|
Should be fixed, @aredfan. It was a sneaky one, I was testing a frame number instead of an animation number. Thanks for the vigilance as always! |
|
Thank you @lahm86, the death animation looks like a match. 👍
|
The mesh used near the drill bits in RX-Tech Mines has a degenerate hitbox so Lara doesn't take damage if she hits it while on the mine cart. This adds a small hitbox to ensure it remains marked as collidable.
|
Fixed! |
Checklist
Description
This adds control for the Mine Cart. I discovered that Lara doesn't take damage from the overhead drill bits while riding the cart, it's actually the static meshes on the wall that she hits (the logic just treats these the same way as beams). However, these meshes have degenerate hitboxes, hence I've added an injection to add a small one to them. This should have no impact on the drills themselves when Lara encounters them on foot.
Ref: LostArtefacts/TRXInjectionTool#242