ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Programming and Scripting
forum topic indicator How to create Rope Physics ?
person icon
Guest2
Guest
Quote
2024-09-02 05:11:30

Hello everyone,

I'm currently working on a project and would greatly appreciate any help or guidance on how to create rope physics in Coppercube. My goal is to develop a game for Android where the player walks on a rope while avoiding objects that fall randomly from the sky. If the player gets hit by one of these objects, they will become heavier, adding more pressure to the rope. If too much pressure builds up, the rope will eventually break.

I'm looking for a way to simulate realistic rope physics where the rope exhibits elastic movement, jiggling slightly up and down as the player walks on it. As more pressure is applied—particularly at the point where the player is standing—the rope should show increased tension, reducing its jiggle. Ultimately, if the pressure becomes too great, the rope should break at the player's position, causing them to fall.

If anyone has experience with creating realistic rope movement or knows of any third-party integrations that would work well on the Android platform, I would be very grateful for your assistance. I'm open to any suggestions or tools that can help achieve this.

This is my original game idea that I came up with, and wanted to share here and seeking help or guidance on building it with coppercube only.

Thank you in advance for your help!

person icon
serge
Registered User
Quote
2024-09-02 21:58:57

Good concept it will be complicated to make. GOOD LUCK!

person icon
SamGrady
Guest
Quote
2024-09-03 02:04:39

You won't be able to implement realistic rope behavior in CopperCube, but I think it’s possible to create something resembling rope physics. To achieve this, you would need to use inverse kinematics and mesh manipulation functions. However, this is quite a complex task, so I would recommend replacing the rope in your game with something simpler, like a plank, for instance.

person icon
Guest
Guest
Quote
2024-09-03 04:12:00

"However, this is quite a complex task, so I would recommend replacing the rope in your game with something simpler, like a plank, for instance."

Man, this sentence had me rolling out of my chair. emoji icon_grin

person icon
Guestav
Guest
Quote
2024-09-03 05:30:46

You could use CopperCube scripting to draw an array of colored rectangles with transparency to simulate rope physics in your game. This approach is particularly useful for 2D games. By leveraging the drawing API, you can create a more straightforward solution compared to a 3D approach.

However, if you're set on using a 3D method, you could arrange an array of cube meshes that align and move based on the motion of their neighboring cubes. While this isn't overly complex if you know what you're doing, it does require some knowledge of the system.

I could create this for you, but honestly, I don't want to work for free. If you are willing to pay.

Contact me here:-
hack_the_smith@proton.me

person icon
sven
Registered User
Quote
2024-09-03 11:43:02

This is interesting topic -rope-
This should be doable- will try to make it.

person icon
Guest2
Guest
Quote
2024-09-03 14:19:41

Thank you all for your input.

@Sven, I really appreciate your feedback.

@Guestav, I'll consider purchasing the rope simulation based on your pricing if it fits within my budget and if it working as expected.

Also, does anyone know how to remove the loading box that appears when the game starts on Android? It's quite frustrating. I’ve tried reaching out to @JIC but haven’t heard back. Please let me know if anybody knows how to remove the loading box.

person icon
just_in_case
Moderator
Quote
2024-09-05 07:14:55

@guest2, I am sorry for being not available, I can't really help you with the Rope thing but yeah. I do have android studio updated code that I have updated for the "FLYBORN" game, and in the last update I have made changes to the Loading box with a progress bar with a splash image.

As the original author @Saman Mhmdy was also complaining that it is annoying to see the loading box, but I have no plan of releasing the source code to the public yet. Until I make further test with it. I will make it available for the public use in future, but I am not sure how much time will it take to make it public.
But if you want you can join in the Internal testing program of "FLYBORN" and can check out the changes and implemented features by yourself.

Use the link below to join the internal tester program.
https://play.google.com/apps/int...


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |