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: Physics issue

Previous Thread :: Next Thread 
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
30 Mar 2013 07:54 PM
So here I was, trying to create a bubble paradise game, don't ask, and so I'm trying to create weightless bubbles.

And I'm sitting here, correcting my BodyForce object when I notice that during my test drops, my testing bubble mysteriously stops.

I move it up, then let it go and it bounces, then it just stops in mid-air as if anchored...

Has anybody else noticed this?
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
30 Mar 2013 07:55 PM
Could it just be the BodyForce?
Report Abuse
TheMyrco is not online. TheMyrco
Joined: 13 Aug 2011
Total Posts: 15105
30 Mar 2013 07:59 PM
This is vaguely described - I haven't encountered anything alike before ._.
Report Abuse
popdosprlte is not online. popdosprlte
Joined: 18 Dec 2009
Total Posts: 4801
30 Mar 2013 08:01 PM
Haven't encountered anything like this in my space game.

Are you using the correct formula for zero gravity?

This is what I use:

BodyForce.force = Vector3.new(0,196.2,0) * Part:GetMass()
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
30 Mar 2013 08:03 PM
Meh, I guess it'll be fine.

It could have been because I'd been getting closer to the amount of force required to counteract gravity, guess-and-check gravitational constant ftw!
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
30 Mar 2013 08:04 PM
@pop

Yeah, I was tuning my constant to zero it out and finally got to 196.2 via guess-and-check, you can imagine how many times I head-desked after I found out it I didn't need to waste so much time.
Report Abuse
KleurrijkLichaam is not online. KleurrijkLichaam
Joined: 23 Jun 2012
Total Posts: 24
30 Mar 2013 08:06 PM
Err, I supose so - have a nice day.
Report Abuse
popdosprlte is not online. popdosprlte
Joined: 18 Dec 2009
Total Posts: 4801
30 Mar 2013 08:06 PM
Make sure you only have one single bodyforce in your object, and that your mass and size is constant.

Perhaps adding in a debug script constantly printing out Part velocity would help.
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
30 Mar 2013 08:08 PM
Like I said, the velocity drops to zero without actually touching anything... It's kinda abrupt too, which is why I didn't think it was normal.
Report Abuse
noobertuber is not online. noobertuber
Joined: 16 Jan 2007
Total Posts: 2321
30 Mar 2013 09:15 PM
This has happened to me also while I was trying to correct for gravity in a 2d escher game. From what I can tell, it comes from the part going to "sleep" from not having high enough velocity. Isn't really possible to fix until the administrators give us more control over the parts. In your case, you could just have the parts rotate constantly, assuming your bubbles are spheres.

-God Bless-
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
30 Mar 2013 09:17 PM
BodyForce just pushes it right? You'll want BodyVelocity for a constant force.

At least I think that's how it works. idk.
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
30 Mar 2013 09:34 PM
BodyVelocity is not a constant force. Objects with zero force travel at a constant velocity (which can be zero).
Report Abuse
1waffle1 is not online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
30 Mar 2013 09:38 PM
People always say 192.6 rather than 196.2 because of 192.168,
if anyone else was wondering why.
Report Abuse
noobertuber is not online. noobertuber
Joined: 16 Jan 2007
Total Posts: 2321
30 Mar 2013 11:00 PM
1waffle1: Out of curiosity, what is the significance of 192.168?

-God Bless-
Report Abuse
1waffle1 is not online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
30 Mar 2013 11:04 PM
192.168.0.1
Report Abuse
EchoReaper is not online. EchoReaper
Joined: 14 Oct 2008
Total Posts: 4323
30 Mar 2013 11:16 PM
In other words, router configuration.
Report Abuse
booing is not online. booing
Joined: 04 May 2009
Total Posts: 6594
30 Mar 2013 11:20 PM
This is related in that it's in the same category. When instancing parts, I often find that although their surfaces are all smooth, they often get welded. This caused me a long while of frustration time when I couldn't figure out why my parts weren't dropping.
Report Abuse
1waffle1 is not online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
30 Mar 2013 11:24 PM
@Echo

In words.
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
30 Mar 2013 11:26 PM
Brains have a strange ability to confirm that a suggestions is right, yet they couldn't think of the correct answer in the first place. The number 192 must be more familiar and satisfying to this assessment than 196, and perhaps specifically because of the local IP.

(ip or IP?)
Report Abuse
1waffle1 is not online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
30 Mar 2013 11:32 PM
9.81*20 obviously ends in .2
14^2 = 196 (irrelevant)
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
31 Mar 2013 09:53 AM
> irrelevant

No, irrelephant.
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