Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Malbers Dragons (Closed)

Discussion in 'Assets and Asset Store' started by Malbers, Jun 20, 2016.

  1. tahir_ali

    tahir_ali

    Joined:
    Jan 6, 2018
    Posts:
    88
    Yes height and speed
     
  2. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    on the current system try changing the jump multiplier on the animal script:
    upload_2019-6-24_21-14-55.png
    also on the Jump animations you have
    more height and forward multipliers:
    upload_2019-6-24_21-16-14.png
     
  3. TonanBora

    TonanBora

    Joined:
    Feb 4, 2013
    Posts:
    493
    Oh, hey, just noticed this:


    When swimming, if I press and hold the Dive key, I can dive upwards, and swim into the sky. lol
    Then, if I release the key after swimming upwards a little, I am free to swim about in the air, unless I touch the water's surface.
     
    Malbers likes this.
  4. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    Thanks for catching this bug :)

    I have already solve it on the new version of the controller:)
    I'll be working on transferring all the assets to the new controller this month.

    but here's a quick preview :)
     
  5. tahir_ali

    tahir_ali

    Joined:
    Jan 6, 2018
    Posts:
    88
    Waiting for new controller. any release date please for little dragon sea
     
  6. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    all the assets will be out before this month ends
     
  7. MagiSoftworks

    MagiSoftworks

    Joined:
    Feb 12, 2019
    Posts:
    121
    Hi Malbers! Appreciate your great assets. :) Quick Question - I dont see a sleep animation on the SeaDragon? Im probably missing something. Want to get the little guy to just sleep on a rock. Thanks!
     
  8. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    You can use the Sleep Action Zone on the Prefabs... or use any of the Action zones and change the Action to Sleep..

    if you want you can use the Automatic option so once the Dragon enters the Zone it goes to sleep :)
     
  9. MagiSoftworks

    MagiSoftworks

    Joined:
    Feb 12, 2019
    Posts:
    121
    thanks for getting back - :) Maybe Im doing something wrong but a added the action zone Script- That correct? Added the Action "Sleep" - Sleep Zone Type I set to Ground but I had little guy on a big rock. We a
     

    Attached Files:

  10. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    you need a colliders also set as a trigger so the Zone can recognize the dragon has entered the zone..

    Did you forget to finish???
     
  11. MagiSoftworks

    MagiSoftworks

    Joined:
    Feb 12, 2019
    Posts:
    121
    You got me - Posted to quick . Always something simple - Box Collider area for trigger wasn't high enough to reach the little guy. Thanks!
     
    Malbers likes this.
  12. netpost

    netpost

    Joined:
    May 6, 2018
    Posts:
    247
    Hi,

    Great asset!

    Would it be possible to let me know how to setup the swim parameters so my dragon swim when it goes below the water?
    Any help would be greatlt appreciated.

    Thank you
     
  13. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    The dragon has an Underwater state... which is activated by the Bool parameter Underwater when is true...
    This parameter is set to true when the dragon is swimming and the Down key is pressed..
    and is set to false when the dragon comes out the the surface of the water

    Hope this helps
     
  14. netpost

    netpost

    Joined:
    May 6, 2018
    Posts:
    247
    Thanks for the reply but you say it is set to true when the dragon is swimming and the down key is press but I can't make it swim. :)
     
  15. tahir_ali

    tahir_ali

    Joined:
    Jan 6, 2018
    Posts:
    88
    Can you help me with "LookAt" Script. I want to rotate the bones on the base of input instead of camera? please
     
  16. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    1,563
    Dragon in the office. I thought why not? :D

    dragon 01.jpg
    dragon 02.jpg
    dragon 03.jpg

    Note: This is using the Unity RTX version with the office demo :)
     
    Malbers likes this.
  17. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    can you make a video of your issue? Because I'm testing it on my side and everything is working as expected..
     
  18. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    The lookAt script work with a Direction... coming from a Target or the Camera Forward Vector... if you want to use is from an Input what you can do is to set the Look At script a Target in front of the dragon , Parent that target to the Dragon and write a script that you can rotate/move that target via input...that way when you move/rotate the target the dragon follows it
     
    tahir_ali likes this.
  19. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    Rowlan likes this.
  20. netpost

    netpost

    Joined:
    May 6, 2018
    Posts:
    247
    @Malbers

    Yes. here is 2 pictures and a link to the video:



    Thanks! setting.JPG WaterLevel.JPG

    setting.JPG WaterLevel.JPG
     
  21. tahir_ali

    tahir_ali

    Joined:
    Jan 6, 2018
    Posts:
    88
    I did this as you say. but I want to rotate neck bone with input like when cam is enabled and it rotates.
     
  22. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    If you want to do only that then you can ingore the Look At Script

    and create a script that rotate the bone you want with a rotation offset...
    You need to use it on Late Update


    something like this:
    Code (CSharp):
    1.  
    2. using UnityEngine;
    3.     public class ModifyBoneInFixedUpdate : MonoBehaviour
    4.     {
    5.         public Animator anim;            //the reference for the animator
    6.         public Transform bone;             //the bone you want to rotate
    7.         public Vector3 offset = new Vector3(0,90,0); //the rotation offset
    8.         [Range(0,1)]
    9.         public float Weight = 1;
    10.         void LateUpdate()
    11.         {
    12.             if (anim.updateMode == AnimatorUpdateMode.AnimatePhysics)
    13.             anim.Update(0);
    14.             bone.rotation = Quaternion.Lerp(bone.rotation, bone.rotation * Quaternion.Euler(offset), Weight);
    15.         }
    16.     }
    17.  
    18.  
    and after that you can add an Input to change the rotation offset to your needs
     
    tahir_ali likes this.
  23. KeithBrown

    KeithBrown

    Joined:
    Apr 1, 2017
    Posts:
    151
    @Malbers Was wondering if you were still on track for the newest updates?
     
  24. SickaGamer

    SickaGamer

    Joined:
    Jan 15, 2018
    Posts:
    1,010
    This guy...always asking for updates
     
    KeithBrown likes this.
  25. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    yeah! the new controller is on pending review

    Now what I'm doing is migrating all the assets :) which is quite a job... make all the new animator ... set all the correct parameters... set all the sample scenes... I have ready the wolf, the horse, and the little dragon... 12 left to go !
     
    nirvanajie and KeithBrown like this.
  26. SirTwistedStorm

    SirTwistedStorm

    Joined:
    Sep 20, 2015
    Posts:
    189
    You made a whole new controller? is it a paid upgrade?
     
  27. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    Its a free asset the new Animal Controller :)

    now all the asset will have only the models, textures and animations, for those who do not want the controller, or they have a controller of their own...

    And if you download the Animal Controller Asset you will be able to use the Sample Scenes and Ready Prefabs using the Controller for each animal/dragon ...

    This way I can give better support to the control, without having to update all assets every time I create a new feature, or kill a bug ;)
     
  28. SirTwistedStorm

    SirTwistedStorm

    Joined:
    Sep 20, 2015
    Posts:
    189
    That's pretty smart. :)
     
    Malbers likes this.
  29. tahir_ali

    tahir_ali

    Joined:
    Jan 6, 2018
    Posts:
    88
    Waiting for dragon controller update. its almost end of next month.
     
    Last edited: Aug 20, 2019
  30. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    I have the three little dragons ready, 3 animals and I'm working on the horse ( which is he main reason for the new controller :D )

    Is a bit time consuming each animals ... so I appreciate your patience guys ;)
     
    johaswe, KeithBrown and SickaGamer like this.
  31. tahir_ali

    tahir_ali

    Joined:
    Jan 6, 2018
    Posts:
    88
    Please upload Dragon Controller as soon as possible.
     
  32. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    Which one? Irval, Unka or the Elemental>?
     
  33. tahir_ali

    tahir_ali

    Joined:
    Jan 6, 2018
    Posts:
    88
    Thats funny. I wanted Little Dragon Sea which is not the option.
     
  34. SoloHonk75

    SoloHonk75

    Joined:
    Mar 27, 2016
    Posts:
    18
    Unka first please... ;-)
     
  35. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    Sea dragon is ready :) I'm just waiting to Unity approves the last update I made for the Animal Control
     
    tahir_ali likes this.
  36. tahir_ali

    tahir_ali

    Joined:
    Jan 6, 2018
    Posts:
    88
    Please add Color shader for Skin in Little Dragon Sea if Possible.
     
  37. Swyfft

    Swyfft

    Joined:
    Mar 14, 2019
    Posts:
    16
    but that looks TOTALLY normal .. (wait .. been watching too much Bubble Guppies with my kids) ;)
     
  38. Swyfft

    Swyfft

    Joined:
    Mar 14, 2019
    Posts:
    16
    Wanted to say Hi to everyone.. and especially thanks to Malbers for such amazing work!!

    I have all 3 Little Dragons sets and the Elemental Dragon! Love them all!!
    (will also get the horse animset when I start my next game)

    One or two questions that I'm not sure I saw here yet ..

    I know you can scale the dragons initially, but is it (relatively) easy to (proportionally) scale them in-game? as in .. grow a bit each experience level?

    Also looking to have player customization at character selection time.. like color and styles. Is that something that could be done without a lot of coding?

    I've just started prototyping with them, so haven't been able to dig too much into the workings yet.

    (sorry if these have been answered or documented somewhere.. a link or something would be nice :) )

    Thanks in advance for any assistance .. and keep up the great work!!
     
    Last edited: Sep 15, 2019
  39. yolon3000

    yolon3000

    Joined:
    Aug 1, 2018
    Posts:
    10
    Hi,lovely dragon,I want to use these in my AR program,but i don't want to use gravity and any mass with it or it will fall down ,my question is how to completely disable the gravity and mass ? thank you!
     
  40. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    Hi there! which one of the Dragons are you using?
     
  41. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    Thank you!

    You can create a script to scale the Root Game Object up or down..

    But if you like you can wait until the new update is up... I create a script to smoothly blend between Scaled Bones and Blend shapes presets:
    Something like this:


    To change colors you can use the Material changer Script:
    https://docs.google.com/document/d/...WkOayU0HUtiiSWTF8/edit#heading=h.2t5mb9asczbu


    Hope this helps :)
     
  42. Swyfft

    Swyfft

    Joined:
    Mar 14, 2019
    Posts:
    16
    That’s perfect!!

    Yes I can wait for the update... still prototyping so lots of time. Thank you!

    Will look into material changer. Sounds like that will do what I need.. thank you!
     
  43. yolon3000

    yolon3000

    Joined:
    Aug 1, 2018
    Posts:
    10
    I am use the "Unity3d Unka the Dragon 2.4",I can cancel the Gravity and mass at the Editor but it checked on again when in runing model. I want to cancel it completely ,Thank you !
     
  44. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    The old version everytime the dragon changes to Ground.. the inside code changes the Gravity back.

    But now I highly recommend using the new version of unka which is already Up ... and the gravity is set to false by default
     
  45. MechDT

    MechDT

    Joined:
    Jun 18, 2014
    Posts:
    3
    I am trying to use the prefabs for Unka the Dragon 3.0, and there are at least two missing scripts on each of the prefabs. These prefabs are located in "Assets/Malbers Animations/Dragons/4 - Unka the Dragon/Prefabs".
    The Unka Poly Art gameObject used in the scene
    "Assets/Malbers Animations/Dragons/4 - Unka the Dragon/1 - Unka Animal Controller/1 - Demos/5 - Unka Callbacks"
    doesn't have any missing scripts, but has more than 2 scripts than the prefabs that are missing scripts.

    I have installed the Animal Controller Version 1.03b. I am using Unka the Dragon version 3.0a.
    Thanks
     

    Attached Files:

  46. MechDT

    MechDT

    Joined:
    Jun 18, 2014
    Posts:
    3
    I was able to find prefabs without missing scripts at:
    "Assets/Malibers Animations/Dragons/4 - Unka the Dragon/1 - Unka Animal Controller/3 - Prefabs"
     
  47. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    Yeah I know that was a problem I found too :(

    That is why I have updated again but with the sample scenes on a Rar File..

    Just a recommendation ... install first the Animal Controller and next the other assets..
     
  48. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    1,563
    Wanted to see Irval in the Clouds :)

     
    Malbers likes this.
  49. Malbers

    Malbers

    Joined:
    Aug 7, 2015
    Posts:
    2,111
    Looooooooooooooove it!
     
  50. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,224
    I'm checking Unka on the asset store and some pictures have a younger dragon. Is that younger one included on the asset?
     
unityunity