Search Unity

Scale parent but not affect child's size? Only using Matrix Operations to complete it?

Discussion in 'Animation' started by matveev7ly7nikita172, May 18, 2022.

  1. matveev7ly7nikita172

    matveev7ly7nikita172

    Joined:
    May 18, 2022
    Posts:
    1
    By default, scaling parent cause child's size change too.
    I want to simulate Maya's Segment Scale Compensate function in Unity.
    Parent and child may have different scaling axis, so simply inverse child's localscale won't work sometimes.
    I am a math noob, but guessing Matrix Operations involved, how can I complete it only using Matrix Operations?
    Thanks!