- Home /
How can you create a trigger collider between two moving objects?
I want to create a trigger-collider between two boxes. When one of the boxes moves, the trigger is supposed to change its size and shape so that its left and right edge stay attached to the two boxes.
How can I implement this in C#
[1]: /storage/temp/117702-l4ov8.jpg
[2]: /storage/temp/117703-oiefb.jpg
,I want to create a trigger-collider between two boxes. When one of the boxes moves, the trigger is supposed to change its size and shape so that its left and right edge stay attached to the two boxes.
How can I implement this in C#
For your first case its fairly simple. The second one is a bit more complicated. Is it sufficient that the "Box" in the second case consists of 4 trigger-collider that pretend to be 1 Box?
Your answer

Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
What is the difference between these two scripts? 1 Answer
How to Destroy items in Match 3. 2 Answers