multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.38k stars 425 forks source link

processLineAgainstMesh not working well with peds #3359

Open Armisael2k opened 5 months ago

Armisael2k commented 5 months ago

Describe the bug

Hello, I tested processLineAgainstMesh with a car which worked very well and now I am testing it with peds which has not worked very well. When the ped receives the shot the raycast information is wrong.

Steps to reproduce

In the video of the ped when shooting on the body, the hit is detected in the hair. Ped test: https://youtu.be/2xJFtZdrbHk Vehicle test: https://youtu.be/vKu1qDnuAG8

Version

Server: 1.6.0-9.22388.0 (Windows 10, 64-bit) Client: v1.6-release-22388 (Windows 10, 64-bit)

Additional context

No response

Relevant log output

No response

Security Policy

FileEX commented 5 months ago

@Pirulax