• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • 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
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

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 /
avatar image
0
Question by Shippety · Dec 23, 2014 at 04:34 AM · 2dsimple

Glitching between box colliders. One is kinematic... Help!

I have two squares in my 2D game. It's played like a top down game, and I have rigidbody2Ds attached to both, though I have the gravity set to 0 on each so that they don't fall. You can control one of the squares and move it around freely. The other one is set to kinematic on the rigidbody2D because I don't want it to move.

When I control the first square, and it runs into the kinematic one, a weird clipping occurs as the player square kind of glitches into the other one. Does anyone have an explanation for this? I'm sure it's something painfully simple.

Comment
Add comment · Show 1
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
avatar image _Yash_ · Dec 23, 2014 at 04:44 AM 0
Share

how did you move the object? - by applying the force? - by transform?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by SeasiaInfotechind · Dec 23, 2014 at 06:19 AM

Pie_Lord can you post image related to your question so that it becomes easy to understand your scenario.

Here what I understand is that one of your square entering other. Just check once that their colliders are not intersecting each other. Also how are moving your "movable square" ?

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Need help with screen resolution and character size 1 Answer

Simple Topdown Movement Problem 1 Answer

A node in a childnode? 1 Answer

C# Coding error 1 Answer

Using Lerp with 2d only moving partially 1 Answer

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