• Unity
  • Services
  • Made with Unity
  • Learn
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Forums
  • Answers
  • Feedback
  • Issue Tracker
  • Blog
  • Evangelists
  • User Groups

Navigation

  • Home
  • Unity
  • Industries
  • Made with Unity
  • Learn
  • Community
    • Forums
    • Answers
    • Feedback
    • Issue Tracker
    • Blog
    • Evangelists
    • User Groups
  • Get Unity
  • Asset Store

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by Shizuku_Mizuki · Nov 25, 2017 at 12:58 AM · rigidbody2drigidbody physicsrigidbody collision

Remove Rigidbody2D "Jelly" Collisions?

Edit: It's been about 18 hours since I posted right now and there's absolutely no answers and no comments. If you need information, don't just close the tab... comment and ask!

Chances are, if I didn't provide the information, I have no clue whether or not it's needed. So please, just comment and ask for more information. I'll gladly edit my post to include anything you need.

Hey there!

I'm using Rigidbody2D and it seems every time I try to change how I calculate gravity, Unity adds in this "Jelly Fall" effect. In short, when my object collides with the ground, it will fall past the object by a bit and slowly "correct itself" to the floor's actual height.

I've looked this up online by seeing how people solve the "jittering" that Rigidbody can have, but noen of the solutions worked. Here's what I tried:

  • Setting to the Rigidbody's velocity directly

  • Using Rigidbody2D.AddForce()

  • Using Rigidbody2D.MovePosition()

  • Enabling/Disabling isKinesmatic

  • Switching the gravity code between Update() and FixedUpdate()

Any ideas on how to fix this? alt text

jelly-gravity.gif (78.4 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Shizuku_Mizuki · Nov 25, 2017 at 08:46 PM

I ended up finding out the answer to my own question. Apparently I had to change Collision Detection from "Discrete" to "Continuous".

Would've been nice if someone asked for clarification if they needed it.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

124 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to prevent jumping off held object? 0 Answers

Third Person Controller C# 0 Answers

Avoid varying output on same amount of force applied to a Rigidbody2D. 0 Answers

How to create a generic script for bouncing behaviour 1 Answer

Rigidbody2d.position problem 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges