winstxnhdw / lc-hax

A powerful, feature-rich and highly performant internal cheat for the co-op indie horror video game, Lethal Company.
77 stars 25 forks source link

[Bug]: Enemies are literally not being affected by gravity #376

Closed xAstroBoy closed 4 months ago

xAstroBoy commented 4 months ago

What happened?

They no longer can jump or be affected by the circumstant envroinment

Current Commit Hash

aaaa

Injector

If you selected "Others" above, please specify the injector you are using.

No response

Log output

No response

Acknowledgement

winstxnhdw commented 4 months ago

I don’t get this issue though.

joep26020 commented 4 months ago

What happened?

They no longer can jump or be affected by the circumstant envroinment

Current Commit Hash

aaaa

Injector

  • [ ] SharpMonoInjectorCore
  • [ ] Others

If you selected "Others" above, please specify the injector you are using.

No response

Log output

No response

Acknowledgement

  • [x] I have confirmed that my anti-virus is not blocking any of the relevant programs
  • [x] I have done my due diligence to check for similar issues

yeah i got that too, cant jump

xAstroBoy commented 4 months ago

a potential fix would be setting the enemy before possession as kinematic object, and then disable the kinematic once possessed.

winstxnhdw commented 4 months ago

Okay, fixed. I just messed up the conditional because CharacterController became nullable.

winstxnhdw commented 4 months ago

a potential fix would be setting the enemy before possession as kinematic object, and then disable the kinematic once possessed.

LOL

xAstroBoy commented 4 months ago

a potential fix would be setting the enemy before possession as isKinematic in RigidBody, and then disable the kinematic once possessed.

LOL

that would temporarily disable the physic mechanism, just the time to possess it, then reactivate it, why LOL?

winstxnhdw commented 4 months ago

No, I just thought it was really like you to suggest something like this when the real solution was flipping is false to is true.

xAstroBoy commented 4 months ago

No, I just thought it was really like you to suggest something like this when the real solution was flipping is false to is true.

that was the suggestion to avoid the bug that the enemy goes outside the map when possessed

winstxnhdw commented 4 months ago

Ah, I see. In that case, I still haven't got that issue yet.

winstxnhdw commented 4 months ago

Okay, I just got it with bees.