generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Rope physics swinging stuff

Previous Thread :: Next Thread 
xSoulStealerx is not online. xSoulStealerx
Joined: 07 May 2008
Total Posts: 1624
06 Dec 2013 06:45 PM
Hello fellow scripters,

I came up with something quite fun with rope physics using verlet integration. Let's have a look shall we?

http://www.roblox.com/Rope-physics-Swinging-spoderman-test-place?id=137727197

Report Abuse
TheNickmaster21 is not online. TheNickmaster21
Joined: 04 Oct 2008
Total Posts: 9490
06 Dec 2013 06:48 PM
That is one of the most amazing places I've been too. However, to prove its relevance to the forum, you may want to go more in-depth on the scripting involved.
Report Abuse
zac4545 is not online. zac4545
Joined: 19 Aug 2009
Total Posts: 2324
06 Dec 2013 06:54 PM
sick
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
06 Dec 2013 07:28 PM
Wow, i'm genuinely impressed, and it works perfectly. It's surprisingly easy to navigate with just these ropes, it controls quite nicely. Not to mention, ROPES! Best implementation I've seen. I could imagine a very interesting game using these. :3

~The alpaca of the acting world.
Report Abuse
RaidenJPN is not online. RaidenJPN
Joined: 22 May 2013
Total Posts: 6920
06 Dec 2013 08:00 PM
Simply amazing.
Report Abuse
chaoticregandpledge is not online. chaoticregandpledge
Joined: 04 Dec 2009
Total Posts: 2894
06 Dec 2013 09:31 PM
That is amazing. It doesn't quite allow you to connect multiple people together without glitching, but it is quite smooth.
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
06 Dec 2013 10:19 PM
... That's pretty cool.
Report Abuse
xSoulStealerx is not online. xSoulStealerx
Joined: 07 May 2008
Total Posts: 1624
07 Dec 2013 01:57 AM
The problem with connecting multiple people is that they would have to share the same constraint and everyone has them locally, so it would become server-side and very buggy.
Report Abuse
Quaternions is not online. Quaternions
Joined: 06 Dec 2013
Total Posts: 45
07 Dec 2013 02:20 AM
I enjoy spodering thoroughly.
Report Abuse
oseday is not online. oseday
Joined: 27 Aug 2008
Total Posts: 1308
07 Dec 2013 04:17 AM
It's totally awesome, nice job.
Report Abuse
200AB is not online. 200AB
Joined: 24 Aug 2010
Total Posts: 1604
07 Dec 2013 10:59 AM
*clap^math.huge)*
Report Abuse
RaidenJPN is not online. RaidenJPN
Joined: 22 May 2013
Total Posts: 6920
07 Dec 2013 11:00 AM
^

What's with the lone parenthesis?
Report Abuse
200AB is not online. 200AB
Joined: 24 Aug 2010
Total Posts: 1604
07 Dec 2013 11:00 AM
That parentheses wasn't supposed to be there. :c

Anyway, fantastic job!
Report Abuse
Spectrabox is not online. Spectrabox
Joined: 29 Aug 2008
Total Posts: 6888
07 Dec 2013 11:11 AM
This is really awesome, can you give us the basics on how you scripted it?
Report Abuse
Oreology is not online. Oreology
Joined: 15 Sep 2012
Total Posts: 507
07 Dec 2013 11:16 AM
I KNEW IT! ITS CLIENT SIDED.

Nice work.
Report Abuse
xSoulStealerx is not online. xSoulStealerx
Joined: 07 May 2008
Total Posts: 1624
07 Dec 2013 12:02 PM
Well the basic principle would be this:

Have a straight line of points that store position, velocity and acceleration. Connect them in the right order with a constraint, keeping them a certain distance away from each other. Loop through the constraints in the update loop, solve the constraints and repeat this loop like 5-40 times so it won't stretch.

Google for 'Verlet Integration' for more information.
Report Abuse
awsumpwner27 is not online. awsumpwner27
Joined: 03 Sep 2011
Total Posts: 4389
07 Dec 2013 10:02 PM
I noticed that when you swing from a certain height, you don't end up at that height again. Where do you think the energy of the swing goes? In Roblox, the only forces acting on the mass are gravity and the tension of the string. Does the stretchiness of the string have anything to do with it?

Also, obligatory:

how do i shot web
Report Abuse
xSoulStealerx is not online. xSoulStealerx
Joined: 07 May 2008
Total Posts: 1624
08 Dec 2013 06:39 AM
Yeah, stretchiness has to do with it. Also if the swing isn't perfect, as in it doesn't go in a perfect arc, some of the energy will go to the stretchiness. The air resistance multiplier is 0.997, so that affects it a little bit.
Report Abuse
Limitlicious is not online. Limitlicious
Joined: 16 Jul 2010
Total Posts: 357
30 Dec 2013 06:56 AM
How'd you make that amazing Game?
Report Abuse
angad2000 is not online. angad2000
Joined: 16 Feb 2013
Total Posts: 1
28 Jun 2015 08:30 PM
im ####### to make a spider man game wats the ########
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image