Questions tagged [gravity]

The concept of UI widgets being dragged to a specific side of a surrounding element.

The concept of UI widgets being dragged to a specific side of a surrounding element.

Do not use this to refer to accelerometers (gravity sensors) in mobile phones. Use accelerometer instead.

832 questions
0
votes
2 answers

Restricted 3 body simulation not working correctly

I am currently trying to do an assignment where i have to write a simulation for the restricted 3 body gravitational problem, with two fixed masses and one test mass. The information i have been given on the problem is: Check out this link and here…
user1831711
  • 29
  • 1
  • 7
0
votes
1 answer

Add Placeholders to Gravity Forms

Is there a way to add HTML5 placeholders to Gravity Forms? I've tried a number of plugins, but none of them appear to work. Gravity Forms: http://www.gravityforms.com/ One Plugin (that doesn't work):…
JacobTheDev
  • 17,318
  • 25
  • 95
  • 158
0
votes
1 answer

How to have multiple gravity forms on a particular page?

I am using wordpress gravity forms plugin. I want to embed 2 gravity forms on a single page in my template. This is what I am using for embedding forms in my page ( http://www.gravityhelp.com/documentation/page/Embedding_A_Form ). The issue is all…
aditya
  • 996
  • 2
  • 12
  • 25
0
votes
2 answers

Wordpress Gravity Forms - Dynamic population

I have a gravity form on my site that looks like this: Activities: [checkbox] Brand [checkbox] Retailer [checkbox] Other Tags: [Text input] I want to dynamically fill the text input with the selected activities, so for example when Brand is…
Nick
  • 382
  • 1
  • 8
  • 26
0
votes
0 answers

How can I hide the HTML in a gravity form field from appearing in te confirmation message?

Basically I am using a radio button field and have added HTML in the field itself to link and a preview plugin class like so Field: Sedan, 3-passenger
Epleroma
  • 153
  • 6
  • 15
0
votes
1 answer

XNA how to implement gravity?

I've tried following the example on XNA Development website but when the character jumps, they cant be controlled/cant stop the jump movement until its completed. How do I get around that? Here is my jump code private void Jump() { if…
0
votes
1 answer

How can I add gravity/friction to my ball object so it doesn't get stuck in no-man's-land?

I've recently had a breakthrough on the coding for my skee-ball style game. I was having serious issues with collision detection, which the boffins of stackoverflow have helped me solve. I was coding a tween for my object, a ball, to create a…
mrmacross
  • 15
  • 5
0
votes
2 answers

Android - LinearLayout : How to add autospace beetween items to fill the layout horizontally

How to you make 4 fixed size buttons in an horizontal LinearLayout fill the space of that layer horizontally, letting the Android put the needed space betetween those buttons to fill that space ?
Oliver
  • 23,072
  • 33
  • 138
  • 230
0
votes
1 answer

Xcode 4, How to make other buttons fall off the screen after one is pushed.

As an example, I have 5 IBActions declared. When I push one, I want the other 4 to fall down off the screen. Any idea how to do this? Would I define a translation for each other IBAction??
Taylor
  • 75
  • 2
  • 7
0
votes
1 answer

My sprite animation system height recalculating has some issues

Basically, the way it works is that it update the frame to show every let's say 24 ticks and every time the frame update, it recalculates the height and width of the new sprite to render so that my gravity logics and stuff works well. But the…
Nicolas Martel
  • 1,641
  • 3
  • 19
  • 34
0
votes
2 answers

Stop movement of body in zero gravity

I have one issue regarding box2d and cocos2d. My world have zero gravity and i am working in tile base game. I am using sneak joystick for movement of sprite and its move perfect but when i release point to joystick my sprite body can not stop…
Leena
  • 109
  • 1
  • 10
0
votes
2 answers

How to redirect to another page with Gravity forms drop down value?

I am trying to create a form in Gravity Forms that consists of a drop down menu. The drop down has names of pages on the site in labels and then corresponding values of page addresses in values. I am trying to send the user to page that they select.…
Hudson Worden
  • 2,263
  • 8
  • 30
  • 45
0
votes
2 answers

How do I get a body to bounce around the screen when there is gravity (Box2D/AndEngine)?

I've done quite a bit of searching and have found multiple suggestions for anti-gravity objects, but nothing seems to work just right. I have a physics world created with Earth's gravity. The user taps the screen and creates sprites/dynamic bodies.…
rphello101
  • 1,671
  • 5
  • 31
  • 59
0
votes
1 answer

Android layout alignment not behaving

This is the result and this is not what is desired. The text should be aligned to the left. the checkbox should be aligned to the right. The extra long text should be slightly squished so that there is room for the radiobutton on the…
CQM
  • 42,592
  • 75
  • 224
  • 366
0
votes
2 answers

Android TableLayout gravity and padding issue

All right, so I'm working currently on the layout for an activity using a TableLayout and getting the damn table where I want it isn't really working out all that well. Here's a screenshot of what it looks like right now: I have three goals at the…
Tarkenfire
  • 199
  • 1
  • 4
  • 12