Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

[ad_1]

I’ve created a challenge to breed the issue I am at present dealing with.
I am working a easy unity animation that strikes a recreation object and anticipate to have the ability to reset the gameobject place. This may be carried out by including an empty animation, that (because it doesn’t change something) merely writes the default values, thus returning our gameobject to its authentic place.

However right here is the place issues get sophisticated: if the animator gameobject is ready inactive whereas the animation is working, new incorrect defaults values will probably be saved when gameobject is activated, and I’m unable to reset my gameobject place.

To breed this situation, run the connected challenge:
(Obtain from right here)

  1. Change the cease technique to “PlayEmpty”
  2. Hit Begin Animation and watch the left “Good day world” textual content journey.
  3. Whereas it’s touring, click on Disable Textual content GO. The left textual content disappears.
  4. Click on Allow Textual content GO and see the textual content comes again at its final location.
  5. Click on Begin Animation and watch the left “Good day world” textual content journey.
  6. Click on Cease Animation – the textual content is returned to the place the place it was when enabling the gameobject, somewhat than its authentic place.

Any assistance is welcome, options on the way to change the code to make the above state of affairs work.

Thanks,
Yaniv

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *