Hello, my game character needs a more complex collition then the game controller sphere.
If i attach a box collider to my character it makes no different
How d i go about doing this?
How do i attatch a controllable mash collider insted?
Tanks!
Hello, my game character needs a more complex collition then the game controller sphere.
If i attach a box collider to my character it makes no different
How d i go about doing this?
How do i attatch a controllable mash collider insted?
Tanks!
A mesh collider wouldn’t work for a character, since it only works for non-moving objects. Houses, ramps and stuff. I’m not completely sure about this, but you could probably make an empty game object with a box or sphere collider on it, then put that game object onto your character.
If you are using a character controller, then you can’t modify the default capsule shape for the collider (apart from changing the radius, etc). You can use a mesh collider for a rigidbody object but it will need to have the convex setting enabled if you want it to collide with other mesh colliders. A good alternative to this is to use child objects with primitive colliders (cube, sphere, capsule). These will react together as a single compound collider owned by the parent rigidbody. By changing their positions and orientations, you can approximate complex shapes quite well but retain the advantages of using primitive colliders.