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 wheel component visible & physics #2624

Open
1 task done
XaskeL opened this issue May 22, 2022 · 1 comment
Open
1 task done

Vehicle wheel component visible & physics #2624

XaskeL opened this issue May 22, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@XaskeL
Copy link

XaskeL commented May 22, 2022

Describe the bug

https://www.youtube.com/watch?v=0X59ooJb6uk

  1. What could this be related to? The same thing happens on pure freeroam and play, only it does not affect the physics, but the character that was extracted from the car as if stuck to it for a while.

Also can be thrown in the center of the map. I tried to disable all the resources that are at all, left only the admin with the created vehicle

  1. Also encountered recently that hiding wheel component by dummy wheel name does not work correctly and it depends on server version (on 20954 all is fine, on 21118 and newer, the problem persists). Wheels used to appear only when someone gets in the car or you get in or out of it. Now if someone is in it, the wheels start to flicker permanently (because before there was a timer with a fix for the problem described above). If the client is in the car, then from his face with the wheels nothing happens. Now I have to hide wheels in onClientPreRender (It doesn't work anymore.)

https://www.youtube.com/watch?v=mZKG2CDDwHM

Specifically teleportation I have not yet tested using another server build or tracing code for that. But the problem with restoring component visibility in nightly which was installed to get rid of the security bug led to an unexpected result with this bug.

Steps to reproduce

  1. Create a car
  2. Hide the wheel components (client)
  3. Get in the car, get out of the car
  4. Make someone else get in it
  5. Watch
  6. For more interesting result you can hide wheels in onClientPreRender or on timer
  7. Sit in the car and everything becomes normal

Version

Server: 21118
Server: 21238

The version of the client has no effect on this.

Additional context

No response

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@XaskeL XaskeL added the bug Something isn't working label May 22, 2022
@brzys
Copy link

brzys commented May 22, 2022

setVehicleComponentVisible(vehicle, wheel, false)
setVehicleWheelScale(vehicle, 0.00001)

With following code in onClientPreRender no issues for me and other players on server 21238

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

No branches or pull requests

2 participants