Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Dynamic cube around the char

Discussion in 'Animation' started by yuemco, May 9, 2022.

  1. yuemco

    yuemco

    Joined:
    Jul 1, 2018
    Posts:
    36
    Hi,

    I have a scene and I would like to create a zone around char (could be a cube or cylinder at the beginning). How can I place the cube around the char? Also, it should be dynamic because my char is moving (when my char is in the squat position the cube should shrink down ) and the distance between the char's skin and the cube surface should be parametric like 50 cm or 10 cm. How can I do this?