The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
33 views

Collider does not call callback functions

I have a script that will create new GameObjects and will place it where the mouse is placed on the terrain. Now I need to have a check for collision on other already placed GameObjects on the field. ...
0
votes
0answers
19 views

Why a object with character controller passing through a object with box collider?

Lets consider two objects A - with box collider and rigidbody component B - with box collider component only. when A collides with B it will be stopped by B. but I don't want A to be controled ...
0
votes
0answers
13 views

PolygonCollider2D looks strange in the Scene pane - should I be worried?

I have a script that auto-generates "gear" game objects with a matching PolygonCollider2D. This is what a generated gear looks like in the Scene view: I'm confused by the vertical lines that are ...
1
vote
1answer
24 views

Fixing collider for existing scene

I'm trying to add collider to the 3D scene. I have added mesh collider to the floor but I see the character is still floating up when I play. How can I edit this collider. I don't see any edit ...
0
votes
1answer
97 views

Problems with object collision detection using mesh colliders in unity

So I'm working on a project and I need to detect when an empty object with a mesh attached to it collides with another object. Essentially, I want to know when the mesh is touching a cube. I've tried ...
0
votes
2answers
55 views

Nestling into contact with a group of physics objects without exerting forces on them

I'm making a pool game, and would like the circle (imaginary) to be in contact with the table and balls, and to fit perfectly as a ball would. Now I thought I would use Rigidbody and lerp the ...
1
vote
1answer
69 views

Every Item is colliding but 1

In my game I have a BULLET, MOONS, STARS, and A SHIP. I shoot bullets from the ship and hit stars or moons and collisions occur. Yet when a moon runs into my ship there is no detection even though I ...
1
vote
0answers
44 views

Detect when any part of a collider leaves a trigger zone on Unity 3D

I've searched all over for a simple solution on this, and found posts as old as 2011, with a bunch of hackish ways to badly work this out. I want to detect when ANY part of a collider leaves a ...
0
votes
0answers
97 views

Unity Generating PolygonCollider from mesh

I generated a procedural mesh using marching squares and the MeshFilter component (it's 2 dimensional). Now I got the point that I need do collision detection with the character (a sprite with a box ...