Super-accurate character collisions! [Prismatica DevLog #13]

Поделиться
HTML-код
  • Опубликовано: 30 июн 2024
  • The first 1,000 people to use the link or my code "prismaticadev" get a 1 month free trial of Skillshare: skl.sh/prismaticadev04221
    In today's DevLog we have a look at how I've implemented accurate character collisions without incurring any extra physics or collision costs! This is an integral part of Prismatica as I want to reward players for their mechanical skill and strategy.
    ------------------------------
    Discord: / discord
    RUclips: / prismaticadev
    Twitch: / prismaticadev
    Patreon: / prismaticadev
    Twitter: / prismaticadev
    ------------------------------
    Computer Specs:
    Ryzen 3900x 12-core CPU
    MSI Geforce RTX 2080 Super
    64GB Corsair RAM
    One of those fancy nvme m.2 SSD's
    Programs of choice:
    Unreal Engine 4 - (Game Dev)
    Blender 2.8 - (Animation and Modelling)
    OBS - (Video/screen capture)
    Davinci Resolve - (Video editing)
    Adobe Photoshop - (Graphics and Texturing)
    Quixel Mixer - (Texturing)
    ProTools 11 - (Compositions and mixing)
    OldSchool Runescape - (Chillax time)
    Filmed using:
    Sony A7s2 body
    Sony 24-70mm f/2.8 GM lens
    Yonguo YN360 LED's for colour
    Yongnuo YN760 chip LED w/ Godox softbox for key
    My lovely cats names are Boycat, Girlcat and Ladycat :)

Комментарии • 43

  • @PrismaticaDev
    @PrismaticaDev  2 года назад +1

    Reminder to make sure you're one of the first 1,000 people to use the link or my code "prismaticadev" to get a 1 month free trial of Skillshare: skl.sh/prismaticadev04221

  • @VortexArtLab
    @VortexArtLab 2 года назад +12

    "The answer is using... MATH" 😂😂😂 This is genius. At this point, I liked!

  • @NoobFriendlyAI
    @NoobFriendlyAI 2 года назад +9

    Duuuuuude. I discovered your channel last week and it's incredible :) So happy to see a new video!

  • @An0ny
    @An0ny 2 года назад +4

    Just for the record, you CAN have multiple collision shapes for a bone but different physics materials for each shape, on hit it will return that physics material which is what is normally done for shooter games in unreal.
    You rarely see games using the actual bone name but it is definitely a valid approach

    • @PrismaticaDev
      @PrismaticaDev  2 года назад +1

      I was thinking about taking that approach, however when I did some testing, the performance cost was pretty extreme when the skele meshes were simulating (ragdolling or physical animation) so I decided against it, since I rely heavily on simulation

    • @An0ny
      @An0ny 2 года назад

      @@PrismaticaDev Yeah I believe what you're doing now is a better approach for your purpose

  • @johnmannp7158
    @johnmannp7158 2 года назад +9

    This is going to be a great game! Looks better and better!

  • @btmhustles2265
    @btmhustles2265 8 месяцев назад +1

    The towel is legendary 😂

  • @Captainpanda2080
    @Captainpanda2080 Год назад +1

    This is part of the tricks epic used when creating the vehicle damage in the city vehicles sample. Awesome stuff man

  • @redbloodcell4047
    @redbloodcell4047 2 года назад +4

    I'm looking to add a version of this damage system to my game, (probably) minus the variety in armour. It's really interesting seeing how you approach the problem! Especially when you have to balance the effectiveness of a solution (and how simple it is to implement) versus its computational cost.

    • @slBrelaz
      @slBrelaz 2 года назад

      I'm currently doing something similar including adding penetration and organ damage based on where is shot. It's a slow process though because I need to update all of my data to support it (+ the same system is used for machines and damaging their internal parts).

  • @3DWithLairdWT
    @3DWithLairdWT 2 года назад +1

    Very neat look under the hood! The targeting system you're using with the mouse to aim also looks very cool. Hope to see more on that sometime!

  • @ChiliTurtle
    @ChiliTurtle 2 года назад +4

    Can't wait for the video ;..;.

  • @Unyverses
    @Unyverses 2 года назад

    This has been SO helpful! sheesh

  • @norm1180
    @norm1180 2 года назад +1

    Great stuff as always! One thing I'm curious about is how you handle adjusting the collisions to compensate for shader stuff you use to deform ur characters (i.e. fat guys). How'd u go about that?

  • @alekjwrgnwekfgn
    @alekjwrgnwekfgn 2 года назад +1

    Hey dude. You really should sign up for the Unreal ANZ short film challenge. The live training is half done, but you can still join and see the content hidden on RUclips. It is probably 50hr of intensive master classes. Anyway, I’ve plugged you there in the zoom-chat

  • @YuuJer
    @YuuJer 2 года назад

    cool vid! how do you get the wobble on the bones when the character is hit? and is it possible to get the attacker's weapon to not penetrate enemy and maybe bounce off with physics too?

  • @Foxcoder
    @Foxcoder 2 года назад

    cool, looks awesome

  • @pacnavo1450
    @pacnavo1450 2 года назад +1

    A very informative video of course! By the way, I'm just curious about what's the advantage of using data assets over data tables?
    Also, Can you show us how the weapon tracing is done? I can see there 3 colors of line traces when swinging the weapon, I'm sure it represents something? How does it perform under low frame rate situations? I hope you discuss these things in upcoming videos 😍

    • @PrismaticaDev
      @PrismaticaDev  2 года назад +1

      I find Data Assets much easier to work with - it's also really simple to change the asset something is referencing at runtime by passing through a reference to it. You can also write functions inside the Data Asset itself, so for example if you had an asset that had a list of possible attacks but you wanted to choose one based on some conditions (angle/stance/remaining stamina) then you can write the function that decides that inside the Asset rather than on the character

    • @PrismaticaDev
      @PrismaticaDev  2 года назад

      as for the weapon tracing, it will be in the next video :) the reason there are different colours is to deal different damage based on the combination of attack type and trace type

    • @pacnavo1450
      @pacnavo1450 2 года назад +1

      @@PrismaticaDev wow didn't know that data assets have the ability to write functions! Thank you for the information and can't wait for the next video 😍

  • @HaloDude557
    @HaloDude557 2 года назад +1

    Per poly collision on sk meshes crashes the editor lol. I got around that by computing the vertices for a basic distance comparison loop once whenever the physics asset received a collision.

  • @wortnes
    @wortnes 2 года назад +2

    I love gambeson too, man. S2

  • @MaangePeenge
    @MaangePeenge 2 года назад

    How on earth did you figure out using all those nodes? I’ve started using UE recently, but i’m kinda scared of all this!
    Amazing videos, it’s so interesting to follow all this, and sorry if you have already answered my question in an earlier video!
    Take care!

    • @An0ny
      @An0ny 2 года назад

      Just try and make things using google as a guide and you'll eventually know what node to use for what scenario

    • @morganlak4337
      @morganlak4337 2 года назад

      The more stuff you make the more you get a feel for "a node that does x probably exists" and you can right click and search around for it. I don't really have many things memorized but I understand the big picture steps that need to happen for a thing to work, so then I can search in the editor or Google to figure out how to accomplish those steps.
      Basicy, time and experience, don't be afraid! You build that up as you go

  • @malebeery6832
    @malebeery6832 2 года назад

    hey very nice. BTW did you remove the deform of the landscape ? why ?

    • @PrismaticaDev
      @PrismaticaDev  2 года назад +1

      Tessellation isn't supported in Unreal 5, and I also figured that it wasn't very noticeable from the top-down perspective. I've since compromised on altering the Normal Map of the ground to give the illusion of deformation

    • @malebeery6832
      @malebeery6832 2 года назад

      @@PrismaticaDev oh i meant the deform that happen when characters walk or anything, not the tessellation :) thanks for reply

  • @blackwersus
    @blackwersus 2 года назад

    Do you have a Runescape background music on this video or am I imagining it?

  • @user-cl4tk4pj4u
    @user-cl4tk4pj4u 2 года назад

    ну ты и красава, спасибо за контент

  • @Cz_Dani
    @Cz_Dani 2 года назад

    damn there is a lot of stuff in terms of tech to this game already, even tough ur solo dev(if i remember correctly) love what your doing, keep up the good work!

  • @swbftor403
    @swbftor403 Год назад

    Awesome video! If you had wanted someone to bring onboard, I’d be willing to help, my passion is unmatched, but sadly my UE5 skills are not there yet.

  • @bellrick2803
    @bellrick2803 2 года назад +2

    What engine are you using? The art style reminds me of Bad North, neat!

    • @047z
      @047z 2 года назад +1

      Hes using ue5

    • @bellrick2803
      @bellrick2803 2 года назад +1

      @@047z cool!

    • @PrismaticaDev
      @PrismaticaDev  2 года назад +2

      I'm on UE5 now! It's been a great time :)

  • @lolaswift111
    @lolaswift111 5 месяцев назад

    isn't that what hit normal for?

  • @waterisaneurotoxin7788
    @waterisaneurotoxin7788 2 года назад +1

    are you going to support modding?

  • @Raziaar
    @Raziaar 6 месяцев назад

    This pronunciation of skeletal is making me anxious. Sorry can't help it.