Это видео недоступно.
Сожалеем об этом.

3D in Python! Getting Started with Ursina | Ep. 4: Weapons, Input and Raycasting

Поделиться
HTML-код
  • Опубликовано: 12 авг 2024
  • Looking at Key Input and Raycasting today.
    There's a typo right at the end but it's pretty easy to spot.
    The first person controller: github.com/pokepetter/ursina/...
    Key Inputs: www.ursinaengine.org/cheat_sh...
    Raycasting: www.ursinaengine.org/cheat_sh...
    Hit Info: www.ursinaengine.org/cheat_sh...

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

  • @Mandaw
    @Mandaw 3 года назад +10

    always learn something new from these videos

  • @murilosilvestre7736
    @murilosilvestre7736 3 года назад +6

    I'm loving this series, this whole 3d game development is a whole new world for me, very exciting, thank you!

  • @Jenimpaz
    @Jenimpaz 29 дней назад

    Thanks buddy! These videos help me a lot, I used to do only scratch and construct 3 and my dream was to make 3d, not fake 3d on raycasting like in scratch, or like in construct 3 3d without balls and rotation along the X and Z axes. Thanks again, I will continue to learn from your videos!

  • @rayanerynpix5214
    @rayanerynpix5214 3 года назад +2

    My youtube recommendation was so bad but today it became nice. Greet chanel! keep up it buddy!

  • @hiwab41
    @hiwab41 3 года назад +3

    Please please keep it up your doing a great job 👏 ❤️ , you are really helping us❤️

  • @jasonheller8723
    @jasonheller8723 3 года назад +3

    Good Video! You really helped me moving forward with my Game (: -Jason

  • @SuadoCowboy
    @SuadoCowboy 3 года назад

    just find out thos channel and you just uploaded today? yay

  • @swastikdev6181
    @swastikdev6181 3 года назад +3

    Great chanel

  • @immanuelfowler7823
    @immanuelfowler7823 3 года назад +1

    loved the video I was wondering if you could cover doing character animation

  • @youdi615
    @youdi615 3 года назад +3

    could you do a video on procedural generation in ursina. Amazing videos btw!

  • @hemantbisht5630
    @hemantbisht5630 3 года назад +3

    Waiting for part 5

  • @SpotlightGraphics
    @SpotlightGraphics 3 года назад +1

    Lets go!

  • @fredithefish8321
    @fredithefish8321 3 года назад

    nice!!!

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

    how do you get acces to the gun file? it doesn't seem to load so i'm assuming that it's not built in. Same with the knife file

  • @arq8234
    @arq8234 3 года назад +3

    Love your videos, u make impossible say "I m possible" ❤❤❤

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

    I have knife and gun models but how do I load them into the game

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

    was the knife & gun textures built in?

  • @CrjaseMechaEngr
    @CrjaseMechaEngr 3 года назад +1

    this was more like a showcase than a tutorial. Also, where were we supposed to get the gun and knife models from?

    • @windsurftweeds1355
      @windsurftweeds1355  3 года назад +1

      This is more a tutorial for using Ursina specifically and the tools it provides, rather than holding anyone's hand going through standard python stuff. If you do want that, there's always the option of pausing/slowing down the video and looking at it line by line.
      You can get the models from all sorts of sites online, like turbosquid for example. Or you can model it yourself.

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

    idk how you managed to pull off **int(key) - 1** but it doesn't work for me

  • @viiia11ctsebastian57
    @viiia11ctsebastian57 3 года назад

    How to do lights in ursina

  • @bananasplit3204
    @bananasplit3204 3 года назад

    how to remove faces from voxels maybe?

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

    How do I make the bullet not get shot out of the players head?

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

      position=self.gun.world_position, this works, but it still doesn't come out from the center of the gun

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

    idk why is the code not working it would be good if u give the code

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

    I followed along in the code but I didn't get the gun or knife textures to work. Do u have them seperately?

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

      I have the same exact problem, this video was made in 2021.
      It's very possible that they updated the game engine making the current code not possible.

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

      @@x86debug he used diff textures

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

      he used his own

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

    Good demonstration but the bullet seems to be coming out of the camera and not the gun.

  • @deoxybribedcoding2803
    @deoxybribedcoding2803 3 года назад

    Where do I get the gun models and textures from

    • @windsurftweeds1355
      @windsurftweeds1355  3 года назад +2

      There will be models on sites like turbo squid. I didn't share these because I don't 100% know the rights to those models.

    • @deoxybribedcoding2803
      @deoxybribedcoding2803 3 года назад +1

      @@windsurftweeds1355 cheers!!!

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

    I wasn't able to load in a gun object and the floor looked quite different. Can you help me please???

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

      U need to dowloade your own object

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

      @@fredrikpettersen9598 your'e 3 months late. i Switched to unity and made my first game. And i have learned alot. Wanna play it?

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

      @@Blinkers2007GameDev what was the learning curve like for C#? I'm heavily debating moving to Unity.

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

      @@x86debug Learning curve.... I don't know really. I mean unity has a large community and there are tons of possibility. Once you understand it you will be able to make games much faster. On top of that, there is a lot of assets. Switch to unity!

  • @DArK-xj8lr
    @DArK-xj8lr 3 года назад

    now gonna make minecraft a cod game

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

    I can't get the bullets to spawn

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

      I have the same exact problem, this video was made in 2021.
      It's very possible that they updated the game engine making the current code not possible.

  • @playerdd7826
    @playerdd7826 3 года назад

    is there any games made with ursina engine ?

    • @hugo5467
      @hugo5467 3 года назад +1

      Not any big stuff yet. But there is a lot of cool stuff being showcased on the discord

    • @playerdd7826
      @playerdd7826 3 года назад

      @@hugo5467 ok thanks !

    • @hiwab41
      @hiwab41 3 года назад

      @@hugo5467 can you send me the discord? Please

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

      @@hiwab41 sad

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

    I can't get a gun Image to appear on the screen : (

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

      I can't even get the gun to appear, edit: I did it!

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

      self.gun = ur.Entity(parent=self.controller.camera_pivot,
      scale=(0.3, 0.4, 2),
      position=(0.7, -1, 1.5),
      rotation=(0, 170, 0),
      model='cube',
      texture='white_cube',
      color=ur.color.cyan,
      visible=False)
      self.knife = ur.Entity(parent=self.controller.camera_pivot,
      scale=(0.05, 2, 0.3),
      position=(0.7, -1, 1.5),
      rotation=(0, 170, 0),
      model='cube',
      texture='white_cube',
      color=ur.color.red,
      visible=False)