Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vehicle.pos setter bug #2357

Open
1 task done
Lekenthu opened this issue Oct 24, 2024 · 4 comments
Open
1 task done

vehicle.pos setter bug #2357

Lekenthu opened this issue Oct 24, 2024 · 4 comments
Labels
Class: bug Something isn't working

Comments

@Lekenthu
Copy link

Description of the problem

Since the last alt:V update, it is not possible to teleport a vehicle when the player is in the vehicle, for example as a driver. The vehicle will appear in the new position for a moment and then teleport back to the old position the player.

Reproduction steps

Example script:

if(target.vehicle) {
        target.vehicle.dimension = player.dimension;
        target.vehicle.pos = {x: player.pos.x+2, y: player.pos.y+2, z: player.pos.z};
        target.dimension = player.dimension;
}

Expected behaviour

.

Additional context

No response

Operating system

Windows 11

Version

alt:V build #16.2.15, branch release

Crashdump ID

No response

Confirmation of issue's presence

  • By submitting this ticket, I affirm that I have verified the presence of this issue on the latest RC (Release Candidate) version available at the time of writing this ticket.
@Lekenthu Lekenthu added the Class: bug Something isn't working label Oct 24, 2024
@gotgameio
Copy link

Same issue, Windows 10

@BluePeer
Copy link

BluePeer commented Oct 29, 2024

sounds similar but not identical

a streamed vehicle can't set the position (c# / js)
only outside stream range, but no visual move (if it is inside streamrange)
related to the test scenario it is the same issue idk currently

@akamorphe
Copy link

akamorphe commented Oct 29, 2024

sounds similar but not identical

a streamed vehicle can't set the position (c# / js) only outside stream range, but no visual move (if it is inside streamrange) related to the test scenario it is the same issue idk currently

It was exemplified with video.
https://youtu.be/SYj2i4pskzk

@Lekenthu
Copy link
Author

Can this be expected to be rectified in the foreseeable future? A couple of my systems have become unusable since the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Class: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants