Trigger with object only from top side.
Hello. I have a little problem with detect collision (or trigger) only from top side of the object. I will try to explain what I mean using picture. ![alt text][1] When I detect collision between...
View ArticleAim ignoring script
As i said before, i am making an Aim System and i am getting humiliated here because my knowledge about C# is poor and i can't do this in Javascript apparently. So here is my Script: using UnityEngine;...
View ArticleBoolean and IgnoreCollision not working correctly
Heya, I'm trying to figure out why a certain bool isn't working right. What I'm trying to do is that if `bounceEnabled` is true (the instance starts as true), the player can bounce, and then it toggles...
View ArticlePhysics2D.IgnoreCollision not triggering properly
I have a code where I want to be able to jump from under a platform above the platform and be able to land on top of it. My trigger is a little lower and wider than the collider to allow me to do this...
View ArticleCheck if two objects are ignoring collision with each other
After using Physics2D.IgnoreCollision(collider1, collider2), is there a way to check whether those same two objects are ignoring collision with one another?
View ArticleLayer Collision Matrix, Don't Ignore Triggers
I'm currently working on a 2D game, and I was wondering if there is anyway I can use the Layer Collision Matrix to disable collisions between layers, but not ignore triggers? ![alt text][1] [1]:...
View ArticleMake one object able to go through an object. But the other unable too?
Hello! I have a vent cover like object that has a collider. I want the player to be able to get through the collider. But make the enemys unable to. How do i do this?
View ArticleBullets colliding with Character Controller
Hi, I'm not even sure the title is the issue but that's my best guess so far. I have a first person shooter where I'm using a character controller for my player and I can shoot bullets from the gun...
View Articlemaking Navmesh Agents able to walk through each other?
im needing the Agents to not only ignore each other, but to walk through each other without altering each other's transform. a good example would be something like an mmo. everyone can walk through...
View Articleignore collision when bool false?
Is there a way to ignore collision with 2 objects if the bool is false and then when true the two object are allowed to collide. so for example: I have a bullet that only can deal damage if bool is...
View Article2D A few objects Ignoring Collision causing insane lag
I have some enemies that should not be colliding with each other, so I used the Ignore-collision matrix. However, when only around 5 enemies or so collide with each other while moving, it drops the...
View ArticleIgnoreCollision doesnt work
if i click right mouse button the player and object can collid with each other` GameObject player; // Use this for initialization void Start () { player = GameObject.FindGameObjectWithTag("Player"); }...
View ArticleObject ignore collider with another - Please Help
So I have tried the following as suggested on another thread. void OnCollisionEnter(Collision collision) { if (collision.gameObject.tag == "theobjectToIgnore") {...
View ArticleIgnore collision failed. Both colliders need to be active
I instantiate a ball in a gameObject script of a character so that the character has a ball to play with. I try to ignore collisions between the ball and the gameObject and when I do I get this error....
View ArticleReset Trigger State without completely ignore collision
Is ther a possibility to reset the trigger state, I mean to force the triggerexit but not completely ignore the collision forever?
View ArticlePhysics.IgnoreCollision not working
So I have the following script on a few empties with box colliders set over water so that if you are flying, you cannot fly over the water, but you can walk into the water. It works great for the...
View ArticleHow to ignore multiple colliders in IgnoreCollision
I have one game object with one collider, then another with 3 colliders(1 box and 2 circle), I use ignore collisions on both but only the box collider in the 3 collider game object is ignored, when I...
View ArticleHow would I create a raycast that ignores Character Controller
I am currently making an foot IK system right now for my game. But despite all of my dificulties the only problem I have is that whenever I enable my character controller the collider blocks off my...
View ArticleSetting IgnoreCollision on Network spawned objects. (Unet)
I'm using the new Unet and got some problems with the NetworkServer.spawn method and collisions. [Command] public void CmdSpawnProjectile(Vector2 position, Vector2 direction) { GameObject proj =...
View ArticleIgnoreCollision affecting children & unrelated objects when it should'nt ?
I've encountered what I think is a bug - sent a bug report about 1 week ago but I thought Id mention it here. **Scene :** - One moving cube "CubeA", one large flat cube for the ground "Base", one...
View Article