- Home /
Is it possible to skew a box collider?
Hi, Let's assume I have a box collider, with 8 points of course, and I want to change the points position in the space, by code.
Is it possible?
I'm trying to use the MeshCollider option, but it is buggy with the code, and if this is a possible solution, then it would simplify my work.
Answer by geniuscd · Oct 23, 2013 at 01:48 PM
i dont think through the editor you can skew a box collider. maybe through an editor class? "gamedraw" plugin i guess did it.
but if you already know the size,and you know its not going to change you could create a 3d model with a 3D software and use it as a collider.( workaround )
The thing is that it is not a commonly pre-created shape, it is depend on inputs from the player, and therefore I want to create the collider by code.
It is possible to perform with $$anonymous$$esh, but is there a way to manipulate also the collision detection?
Your answer
![](https://koobas.hobune.stream/wayback/20220613120504im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Internal collisions 1 Answer
2D box colliders gap 0 Answers
Multiple Colliders Trigger problem 2 Answers
Collider going through walls with box collider.. 1 Answer
Rigidbodys 0 Answers