Search Unity

Question How can I add collision to GPU Instance?

Discussion in 'General Graphics' started by Stormer2020, Jul 4, 2022.

  1. Stormer2020

    Stormer2020

    Joined:
    Sep 14, 2020
    Posts:
    92
    Hi~

    I'm using GPU instance to render some cube model. It's looks great! But, how can I add collision to them?
    Is here any solution? Thank you!

    Unity 2020.3.14f1
    WebGL
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,043
    Please post code.
    If you mean you spawn them batched together, just add a box collider to them after spawning them?
     
    Stormer2020 likes this.