Animate A Model In Bb3

Discussion in 'BBNodes' started by PunkPuffin, Apr 22, 2019.

  1. PunkPuffin

    PunkPuffin Avid Boxer

    Joined:
    Sep 27, 2018
    Messages:
    285
    Likes Received:
    195
    Hi All,

    Here is a node I created to Animate a character in BB3. I don't have any animated characters and this was the best freebie I found to try it out. If anyone has anything better please share with me :)

    I used blender to save the animation as a sequence of OBJ files and plugged all that in to my nodes. Don't be scared off by the links in the nodes, it is pretty simple to setup. In the example BBDOC I have the character attacking and then if you click it runs the die animation.

    If you want to try it I suggest your model be fairly low poly and your animations be pretty short.

    It might work and help people out until this is all built in to BB3.

    NOTE: I've not done any performance testing of this on any devices.



    https://www.dropbox.com/s/gyocttaj4utu1r0/ModelAnimate.bbdoc?dl=0

    https://www.dropbox.com/s/c7g20q5b6kkwk5b/ModelAnimateNode.bbasset?dl=0
     
  2. thatguyminib

    thatguyminib Serious Boxer

    Joined:
    Jul 1, 2017
    Messages:
    552
    Likes Received:
    309
    Great stuff!

    Would be interesting to see performance on a device.

    This kind of goes to show though that FBX animation are a feature that people want and are sort of needed.
     
  3. rizwanashraf

    rizwanashraf Avid Boxer

    Joined:
    Dec 3, 2015
    Messages:
    342
    Likes Received:
    215
    WOW :) I am in love with you Puffin.
     
  4. PunkPuffin

    PunkPuffin Avid Boxer

    Joined:
    Sep 27, 2018
    Messages:
    285
    Likes Received:
    195
  5. weboha

    weboha Avid Boxer

    Joined:
    Aug 8, 2018
    Messages:
    239
    Likes Received:
    178
    wow great example.
    but still for 1 sec animation too much effort we have to do :/
     

    Attached Files:

  6. PunkPuffin

    PunkPuffin Avid Boxer

    Joined:
    Sep 27, 2018
    Messages:
    285
    Likes Received:
    195
    @weboha 20 mins effort hooking up some nodes, once, and you’ve got your character animated. For now this isn’t too bad. I’ve done the work in the nodes
     
    AFStudios and Snozzberry like this.
  7. Yuness Lounis

    Yuness Lounis Boxer

    Joined:
    Aug 29, 2019
    Messages:
    8
    Likes Received:
    1
    Hey,
    I know this is a slightly old post but this seems amazing, have you tested to see how it runs on a mobile device yet in terms of performance because if it runs smoothly, I think this is the way forward for animations right now.
     
  8. Killjoy1432

    Killjoy1432 Boxer

    Joined:
    Feb 2, 2019
    Messages:
    33
    Likes Received:
    6
    PunkPuffin likes this.
  9. PunkPuffin

    PunkPuffin Avid Boxer

    Joined:
    Sep 27, 2018
    Messages:
    285
    Likes Received:
    195
    @Yuness Lounis sorry I never got s few minutes spare to try it on a mobile. I’ll try and give it a go
     
  10. fritti

    fritti Boxer

    Joined:
    Jun 12, 2019
    Messages:
    27
    Likes Received:
    1
    This is really a great solution thanks a lot to share it .Im pretty new in Buildbox3, can you please share a file for example with the "progression" game template how to connect these nodes you created there?That would be really great.
     
  11. Zeid Abdullah Ayssa

    Zeid Abdullah Ayssa Boxer

    Joined:
    Sep 1, 2019
    Messages:
    4
    Likes Received:
    1

    @PunkPuffin Yo Bro can you explain more on how to combine the animation as a sequence of obj files as a node in BB3?
    I already did the animation as a sequence of OBJ files but don't know what to do next!
    hope you reply me as soon as passable.

    appreciate it.
     
  12. Yuness Lounis

    Yuness Lounis Boxer

    Joined:
    Aug 29, 2019
    Messages:
    8
    Likes Received:
    1
    Just to let anyone who wants to know,ive tried this on a couple of devices, android only and it runs as smoothly as it does in the emulator. Thanks again PunkPuffin for this method!
     
  13. Zeid Abdullah Ayssa

    Zeid Abdullah Ayssa Boxer

    Joined:
    Sep 1, 2019
    Messages:
    4
    Likes Received:
    1
    @Yuness Lounis
    Yo Bro can you explain on how to combine the animation as a sequence of obj files as a node in BB3?
    I already did the animation as a sequence of OBJ files but don't know what to do next!
    hope you reply me as soon as passable. it will be so kind of you if you to explain for me step by step after having the sequence of obj files (how to import it to BB3 as node and how to do it exactly )

    appreciate it.
     
  14. Yuness Lounis

    Yuness Lounis Boxer

    Joined:
    Aug 29, 2019
    Messages:
    8
    Likes Received:
    1
    If you download the sample project from the dropbox link at the top it should make a lot of sense. the code for the nodes is well annotated and if you have a play around with it you should get it!

    Hope this helps"
     
    Zeid Abdullah Ayssa likes this.
  15. Zeid Abdullah Ayssa

    Zeid Abdullah Ayssa Boxer

    Joined:
    Sep 1, 2019
    Messages:
    4
    Likes Received:
    1
    @Yuness Lounis cool, got it thanks bro
     

Share This Page