ARYDER Posted April 17, 2023 Share Posted April 17, 2023 Hi everybody. If there is any way to implement such an idea? What functions or other knowledge will be useful to me? Link to comment
Scripting Moderators xLive Posted April 17, 2023 Scripting Moderators Share Posted April 17, 2023 You can achieve this using createVehicle and setElementAlpha functions. 1 Link to comment
ARYDER Posted April 18, 2023 Author Share Posted April 18, 2023 Is there a need to disable the collision? Link to comment
Scripting Moderators xLive Posted April 18, 2023 Scripting Moderators Share Posted April 18, 2023 1 hour ago, sadvely said: Is there a need to disable the collision? Oh, right! I totally forgot about the collision. You need to use setElementFrozen to freeze the vehicle, so it doesn't fall. Then, you can use setElementCollisionsEnabled to disable the collision of the vehicle. 1 Link to comment
ARYDER Posted April 18, 2023 Author Share Posted April 18, 2023 1 hour ago, xLive said: Oh, right! I totally forgot about the collision. You need to use setElementFrozen to freeze the vehicle, so it doesn't fall. Then, you can use setElementCollisionsEnabled to disable the collision of the vehicle. Thanks a lot! With a slight change in alpha, the wheels become full invisible, is it possible to fix it somehow? Link to comment
Doongogar Posted April 18, 2023 Share Posted April 18, 2023 (edited) https://imgur.com/a/0TSHcdz maybe that's it, try putting the vehicle's alpha at 150 for a test, and see if the wheels are transparent Edited April 18, 2023 by SciptNovato 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now