The meshcollider tag has no usage guidance.
2
votes
2answers
58 views
How to create a boxcollider, which surrounds the gameobject and all of his children?
I have a Car, who needs a Box Collider.
If the car would be 1 single mesh, i would only need to call:
boxCol = gameObject.AddComponent<BoxCollider>();
and it would create a ...
1
vote
2answers
40 views
Replace PolygonCollider2D with MeshCollider at runtime
I am using a PolygonCollider2D to load in points for a MeshCollider at runtime, but am having issues switching between the two at runtime using good coding practices.
This is a simplified version of ...
2
votes
0answers
49 views
Unity raycast misses convex mesh collider
I have a bunch of fighter AIs that are doing attack runs on a target (Currently just a cylinder).
It is designed to veer off course the moment it gets too close and loop around for another attack ...
-1
votes
1answer
46 views
How to give a mesh collider gravity 5.0
I was trying to make a simulation of an object that needs gravity to work, a hydraulic movement-assistance system for disabled people. All parts are aligned properly, all objects have mesh colliders ...
0
votes
0answers
42 views
Mesh Collider in Monogame
I try to implement a few complex objects and want to achieve that they collide based on everything the player is able to see. Therefore I am not able to use the basic BoundingSpheres. Has anybody an ...
0
votes
0answers
41 views
How to create words as objects in Unity?
I am working on a game that has words as obstacles, i.e. the player needs to climb over and around them. There will be hundreds of words in the game therefore I need a way to automate the placement. I ...
0
votes
0answers
33 views
How to prevent object from moving when it's mesh/collider is being updated?
So I a made a script that lets the player grab a vertex, move it, and then update the mesh. To help prevent the player from trying to clip it through other objects I made it so the mesh/collider is ...
0
votes
1answer
214 views
Unity mesh collider detecting collision on object empty inside
I'm trying to get my first 3D game done with Unity. In this game the character will be flying through some rings.
I made the ring asset with MagicaVoxel, exported it in .obj and reimported in Unity ...
1
vote
1answer
210 views
Rigidbody stuck on the edge of two colliders
could You please help me with that weird bug? I've seen other people's posts about that bug, but I couldn't really understand how to fix it.
As You can see, the boxes are standing right next to each ...
3
votes
1answer
116 views
Matching collider to character mesh size in different postures
What's the optimal method in Unity to match the size of a Capsule Collider to the actual size of the game object it is part of?
To understand what I'm trying to do let me give an example:
I have a ...
1
vote
1answer
210 views
Player Flying after colliding - Unity
I have a Player with a capsule collider on him and i have various objects in the scene. Most of the objects have either mesh collider or box collider enabled.
When i move my player and the player ...
1
vote
1answer
70 views
Selecting Objects to Prefab Unity
So... I have a tree object and I have duplicated it to have many trees in the scene. So, I have about 200 trees in the scene. Before duplicating I forgot to add a tree as a prefab. Now, is there ...
1
vote
3answers
2k views
Invalid AABB aabb
Invalid AABB aabb
UnityEditorInternal.InternalEditorUtility:CalculateSelectionBounds(Boolean,
Boolean)
I've got this error ...
1
vote
3answers
210 views
Colliders for moving inside a spaceship when the whole spaceship is made of a single mesh (in Unity)
I've begun to study a unity engine in one purpose: I have a great multi player game idea!
The main essence: In space there are two (or even more) huge spaceships with crew consisted of players (all ...
1
vote
1answer
144 views
Unity3d Colliders not working on my characters [closed]
I have create 2 characters in maya and imported them in Unity3d. I am able to move and animate them in unity but the characters are not colliding with each others. I have tried all major colliders ...
0
votes
0answers
81 views
Object doesn't move smooth over edges?
In the last couple of days I'm experimenting a lot with Unity 3D to get a feeling about the environment and the behavior of game development. I come from a programming perspective and try to develop ...
5
votes
1answer
4k views
Space Shooter Unity 5 Collisions not working
After upgrading the official Space Shooter Tutorial to Unity 5, collisions stop working.
Additionally, the following error is reported:
Non-convex MeshColliders with non-kinematic Rigidbodies are no ...