Quantcast
Channel: Questions in topic: "ignorecollision"
Browsing all 148 articles
Browse latest View live
↧

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 Article


Aim 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 Article


Boolean 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 Article

Physics2D.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 Article

Check 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 Article


Layer 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 Article

Make 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 Article

Bullets 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 Article


making 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 Article


ignore 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 Article

2D 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 Article

IgnoreCollision 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 Article

Object 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 Article


Ignore 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 Article

Reset 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 Article


Physics.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 Article

How 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 Article


How 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 Article

Setting 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 Article

IgnoreCollision 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
Browsing all 148 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>