Fbx Collision Shape Not Animating Along With Fbx Animations

Discussion in 'How Can I...?' started by Hari Krishna Duvuri, Aug 18, 2020.

  1. Hari Krishna Duvuri

    Hari Krishna Duvuri Boxer

    Joined:
    Mar 14, 2020
    Messages:
    42
    Likes Received:
    11

    Attached Files:

  2. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
    From that screenshot I have no idea what is going on. If that green path is where the collision shape should be, then use Kinematic it's moving, so the collision shape will follow.
     
  3. Hari Krishna Duvuri

    Hari Krishna Duvuri Boxer

    Joined:
    Mar 14, 2020
    Messages:
    42
    Likes Received:
    11
  4. Hari Krishna Duvuri

    Hari Krishna Duvuri Boxer

    Joined:
    Mar 14, 2020
    Messages:
    42
    Likes Received:
    11
    Here is the another reference where collision shape if not animating along with fbx shape. If anyone has solved this issue please let me know the solution..
     

    Attached Files:

  5. Hari Krishna Duvuri

    Hari Krishna Duvuri Boxer

    Joined:
    Mar 14, 2020
    Messages:
    42
    Likes Received:
    11
    Any solution to the fbx collision shape animation issue?
     
  6. RaminAria

    RaminAria Boxer

    Joined:
    Mar 5, 2019
    Messages:
    4
    Likes Received:
    0
  7. Hari Krishna Duvuri

    Hari Krishna Duvuri Boxer

    Joined:
    Mar 14, 2020
    Messages:
    42
    Likes Received:
    11
    @RaminAria I have just checked to see if a keyframe animation can be removed from the drop-down, but presently doesn't look to be an option even if the animation is removed. Better report an issue with Buildbox support.

    However, I have created this thread for FBX Collision Shape Animation Issue. If anyone has a solution please let me know.
     
  8. Hari Krishna Duvuri

    Hari Krishna Duvuri Boxer

    Joined:
    Mar 14, 2020
    Messages:
    42
    Likes Received:
    11
  9. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
    You need to set the collision shape of the fbx to kinematic so it moves with the animations. You might also need to adjust the size of the collision shape by pressing the circle top right of the editor that brings up all the collision shapes for each object in the game that uses them
     
  10. Hari Krishna Duvuri

    Hari Krishna Duvuri Boxer

    Joined:
    Mar 14, 2020
    Messages:
    42
    Likes Received:
    11
    @spicedbeangames Thank you for response. I have already set the physics to Kinematic and I have selected the "Collision Shape" to "Mesh" and "Collision Mesh" to asset.

    The collision shape is jumping along with character, but the problem is it is not animating. You can see in the image attached how the collision shape hands are not animating along with the shape.
     

    Attached Files:

  11. Hari Krishna Duvuri

    Hari Krishna Duvuri Boxer

    Joined:
    Mar 14, 2020
    Messages:
    42
    Likes Received:
    11
  12. Hari Krishna Duvuri

    Hari Krishna Duvuri Boxer

    Joined:
    Mar 14, 2020
    Messages:
    42
    Likes Received:
    11
  13. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    @spicedbeangames
    Where do you set up the colision shape to by kinematic?
    I dont think this is possible.
    Even if it were possible it would slow down your game a lot
     
  14. Hari Krishna Duvuri

    Hari Krishna Duvuri Boxer

    Joined:
    Mar 14, 2020
    Messages:
    42
    Likes Received:
    11
  15. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    well the path is animated but the collision shape is not.
    I am the developer of OneWheel. the animation occurs in front of the character.
    Screenshot-640x1136-2020-08-29-11.48.41AM.png
     
    Hari Krishna Duvuri likes this.
  16. Hari Krishna Duvuri

    Hari Krishna Duvuri Boxer

    Joined:
    Mar 14, 2020
    Messages:
    42
    Likes Received:
    11
    @Tars Tarkas Thank you and really good to know how it is achieved. Let me try and see if I can achieve it with the above technique.
     
  17. Josh (Nology Games)

    Josh (Nology Games) Avid Boxer

    Joined:
    Nov 27, 2017
    Messages:
    200
    Likes Received:
    155
    In most cases when it comes to games, collusion shapes don’t often change. At least not the way you would expect. The animation is generally its own thing as the ever-changing collision shape could create a performance issue.
     
  18. Hari Krishna Duvuri

    Hari Krishna Duvuri Boxer

    Joined:
    Mar 14, 2020
    Messages:
    42
    Likes Received:
    11
    @Josh (Nology Games) Thank you for confirmation about how the collision shape works. However, I can still achieve with the above technique what I am looking for.
     
  19. Josh (Nology Games)

    Josh (Nology Games) Avid Boxer

    Joined:
    Nov 27, 2017
    Messages:
    200
    Likes Received:
    155
    Awesome to hear! Look forward to seeing your game.
     

Share This Page