0
Answered

Easiest way to make a transforms 'Rotation' rewindable but not it's 'Position'.​

Wayne 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 1

Hello,

I have a character controller where each limb is a separate gameObject.  I decided to add a TimeLine to each limb in able to rewind the charcacters movements.

I have the problem that the rewind data is an approximation, so when rewinding, I find that the limbs drift apart from one another.

Is there an easy way to only record a gameObjects 'Rotation' but not 'Position'?

Chronos Version:
Unity Version:
Answered

There is no easy way to do that, but you can edit the source of TransformTimeline.cs to remove the positions from the snapshot. Note that this will affect all timelines, however.