Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Patrk · Mar 06, 2019 at 09:48 PM · animationcharactermecanimdeath

character death - In transitions settings, where is ‘can transition to self’?

I have a character in mecanim that is dying on the final frame, but it keeps repeating over and over again as I just want it to die once and then stay down. Other answers on here have said all you need to do is turn off looping in import animations which is fine, and also untick ‘can transition to self’ in the transition settings. I cant see any ‘can transition to self’ tick box…all I see in transition settings are…exit time, fixed duration, transition duration etc….any idea where this is? maybe the animation needs to have root-motion? (mine moves with a script), maybe it’s featured in older versions of unity? maybe its just in the pro version? thanks.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by bpaynom · Mar 07, 2019 at 01:55 PM

Answering your question , Can Transition to Self only appears when you make a transition from "Any State" to some state.


On the other hand, make your your animation has Loop time set as false, so the animation won't repeat when it stay in the same state.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Patrk · Mar 07, 2019 at 03:32 PM 0
Share

Hi, Thanks. In import animations I have turned off ‘looptime’, but on its own this will not work, it’s meant to work if ‘can transition to self’ is also turned off in transition settings. Which does not show up for me. (according to this post)

  • https://answers.unity.com/questions/462456/mecanim-stophold-animation-at-the-end.html

I am trying to do this without writing any more code snippets…which is what I understand you to mean by saying….’make your animation have looptime set as false…’?

avatar image bpaynom Patrk · Mar 07, 2019 at 05:08 PM 0
Share

Can you share some pics of your Animator and the transition you say you can't see the option?


By itself, if your state does not transition to another state, it will:

  • Loop if your Animation has turned on Loop time

  • Stops if your Animation has turned off Loop time

So , if you have turned off Loop time , then, the problem is in your animatior or the script controlling the animator. Share it.

avatar image
0

Answer by Patrk · Mar 07, 2019 at 06:49 PM

I read in another post that all u had to do was turn off looptime and uncheck 'can transition to self' in transition settings, looptime is turned off and here is a grab for the transition settings, am I in the right place? can't see the 'can transition to self' at a ll. if there is another way to make the dead animation stay down after 1 frame thats ok.

alt text


2.jpg (64.6 kB)
Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bpaynom · Mar 08, 2019 at 10:24 AM 0
Share

Answering your question , Can Transition to Self only appears when you make a transition from "Any State" to some state.

So you can only see that option in a transition from the cyan color state to another state. If you think about it, it has no sense to put a "Can transition to self" into a transition from A to B, because A is the unique origin of that transition, and A is not B.

But Any State is different. It tells that can transition from any state to the state you make the transition, so if you make a transition from Any State to Death State, you'd transition from whatever state you're to the Death State if the condition triggers. That means you could transition from Death State to Death State if you make a transition from Any State to Death State, the condition triggers, AND Can transition to self's checked.

Regarding your image, You have no transitions from your Death State to another state. That means you can't transition to Self nor other state.If you have your animation Loop time checked off, the only way i guess you could repeat that state is from code.

avatar image Patrk · Mar 08, 2019 at 10:30 AM 0
Share

ok, thanks for feedback, I'll sort out the issue by code.

avatar image
0

Answer by unity_0CD5F8B740B250486F2F · Mar 18 at 04:49 AM

Any State to Death State

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

285 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Setting up a character for mecanim? 1 Answer

Steps to make an animated character from scratch 0 Answers

Can you add animations from one rigged character to another using Mecanim? 2 Answers

Why is my animated with Mecanim character (enemy) not visible in game (play) mode? 1 Answer

Characters Interaction with Mecanim Animations 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges