Pages 1
Universal Fighting Engine Forum We are no longer using the forum to answer questions due to bot attacks. Please use our discord instead: https://discord.gg/hGMZhF7 |
You are not logged in. Please login or register.
Universal Fighting Engine Forum → UFE 1 (Deprecated) → Hiding body parts on iddle?
Are you familiar with animation events? You could do it entirely circumventing ufe code by adding an event at the proper keyframe and linking it to a small script of your own. Or possibly easier would be to animate the mesh renderer off within the animation itself.
Are you familiar with animation events? You could do it entirely circumventing ufe code by adding an event at the proper keyframe and linking it to a small script of your own. Or possibly easier would be to animate the mesh renderer off within the animation itself.
I'm familiar with animation events, it's just feels hard to merge my "skills" with the asset :\ If the original animations had the bones hidden would this imply a problem?
Yeah, why not just disable the weapon element for the duration of that animation?
Yeah, why not just disable the weapon element for the duration of that animation?
I'm trying that right now using animation events. I just declared the weapons as GameObjects and disabled them during the "Start" function. It works so far, but the event itself doesn't seem to work.
If I call a specific method it doesn't seem to trigger.
Ex:
void IdleDisableWeapons(){
Kim_LeftR.SetActive (false);
Kim_RightR.SetActive (false);
Kim_Hammer.SetActive (false);
}
During the start of the idle animation there's an event which should trigger this. I have done some tests around to enable and disable weapons but I can't get them to work, I'm confused.
Universal Fighting Engine Forum → UFE 1 (Deprecated) → Hiding body parts on iddle?
Powered by PunBB, supported by Informer Technologies, Inc.