Gaimo Posted March 12 Share Posted March 12 I'm creating a zipline resource, and I'd like to know how to create a rope between two points, any ideas? I remember seeing a resource for a gas station, where there was a hose that changed size dynamically. Resource: zipline I don't know if it's a smart option, but I can make some models with fixed sizes, 10 meters, 5 meters, 2 meters and 1 meter. Depending on the distance, I calculate how many objects I need to create and create them in sequence. Example 23 meters away, 2x10m + 2m + 1m. What do you think? Link to comment
FlorinSzasz Posted March 12 Share Posted March 12 33 minutes ago, Gaimo said: I'm creating a zipline resource, and I'd like to know how to create a rope between two points, any ideas? I remember seeing a resource for a gas station, where there was a hose that changed size dynamically. Resource: zipline I don't know if it's a smart option, but I can make some models with fixed sizes, 10 meters, 5 meters, 2 meters and 1 meter. Depending on the distance, I calculate how many objects I need to create and create them in sequence. Example 23 meters away, 2x10m + 2m + 1m. What do you think? This can be an option but it may look ugly even with the right color. https://wiki.multitheftauto.com/wiki/DxDrawLine3D Link to comment
Flashmyname Posted March 12 Share Posted March 12 I think I know a solution for it, it's really cheap and your idea in my opinion is the best because if you want something custom then definitely use that custom model, basically you need to define the two points then use the model, define the args exactly to match that length you need it to be. But if you wanna stay with the cheap solution then you should use these functions:(These functions are used in the first method you mentioned.) getDistanceBetweenPoints3D dxDrawLine3D Link to comment
Gaimo Posted March 12 Author Share Posted March 12 I like the result of a 3d line, I just need to make a few adjustments, it's in the wrong position when it's descending. Link to comment
Flashmyname Posted March 12 Share Posted March 12 You maybe should adjust the player height positions when starting descending at that specific position, just to suit your needs. 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