Closed vanlueckn closed 1 year ago
Some methods do not seem to work on Vector3 within a worker thread. In my example it is the distanceTo method.
console.log('A ', currentVector instanceof alt.Vector3, distance); console.log('B ', currentPlayerPosition instanceof alt.Vector3, distance);
[20:32:45] A true NaN [20:32:45] B true NaN
DistanceTo should return a number
No response
Windows 11
alt:V 12.13
client
I think we can close this, since workers are deprecated with alt:V 13.0
Description of the problem
Some methods do not seem to work on Vector3 within a worker thread. In my example it is the distanceTo method.
Reproduction steps
Expected behaviour
DistanceTo should return a number
Additional context
No response
Operating system
Windows 11
Version
alt:V 12.13
Scope
client