craz
New vMember
Posts: 2
|
Post by craz on Jul 29, 2021 16:20:42 GMT
Currently my enemy Ai just drops on the floor when it dies. Is there a way to remove it?
|
|
Aaron
Junior vMember
Posts: 44
|
Post by Aaron on Jul 31, 2021 10:00:50 GMT
Yes, and it's quite simple:
Step 1. Add a "v Destroy Game Object" script to your AI. Set your desired Delay time and then Uncheck the Script Box (as seen below)
Step 2. Go to your "v Control AI Melee," and in your "Events" Go to, "On Dead" and drag-and-drop your AI into the Runtime Only slot and set to "vDestroyGameObject"
Enabled and Check.
Step 3. Make Sure to UnCheck "Remove Components After Die" in your AI's Melee Controller. (This may only apply if you're using a Ragdoll on your AI - I'm not sure because I always use Ragdolls)
This should be all you need to make your AIs disappear after death.
|
|