altv-issues
altv-issues copied to clipboard
Unfreezing vehicle keeps physics disabled
Description of the problem
After unfreezing a vehicle the physics don't get reenabled
Reproduction steps
const veh = new alt.Vehicle("t20", 0, 0, 100, 0, 0, 0);
veh.frozen = true;
alt.setTimeout(() => {
veh.frozen = false;
}, 1000);
Expected behaviour
Vehicle dropping down after unfreezing it
Additional context
Can be workarounded by calling the native activatePhysics or restreaming the vehicle
Operating system
Windows 11
Version
dev/12.0-dev1
try the collision setter serverside.
Setting frozen to false & collision to true doesn't change the behaviour
make sure to set collision after frozen to false is set.
That's what I've done. Also tried with delay
i have same probleme.....