Portal Nintendo 64 Demake: First Step on Physics Engine

Sdílet
Vložit
  • čas přidán 5. 09. 2024
  • I got the first step of the physics engine working. This showcases a rigid body with a cube collider interacting with a single plane. The physics engine has a long way to go still but this is a good first step.

Komentáře • 42

  • @Cloudef
    @Cloudef Před 2 lety +212

    Most physics engines usually have rest period. When the entity is barely moving anymore it will go into rest state and will not be calculated anymore unless something collides or interacts with the entity again.

    • @thespyfromteamfortress2149
      @thespyfromteamfortress2149 Před 2 lety +17

      I believe source does that too

    • @Cloudef
      @Cloudef Před 2 lety +22

      @@thespyfromteamfortress2149 yeah, sorce uses havok engine that does that. Bullet engine also does this

    • @kip258
      @kip258 Před 2 lety +11

      This can be seen in portal 2 when you set one cube on top of another and pull out the bottom one carefully; the top cube will float!

    • @gwentarinokripperinolkjdsf683
      @gwentarinokripperinolkjdsf683 Před 2 lety +5

      @@kip258 That dosn't sound right, if I remeber correctly havok tries to wake up objects when one of the contacts updates (wich moving the object should update the contacts). The cube would stay asleep if it didn't move but yeah it shouldn't be possible to slide a cube out from under another cube

    • @kip258
      @kip258 Před 2 lety +15

      @@gwentarinokripperinolkjdsf683 It can be done but its really hard. You have to remove the bottom cube without contacting the top cube, eg, without waking it up.
      If you use two laser cubes and the cube on top is directing a laser into a laser receiver, then it's REALLY easy!

  • @the_kovic
    @the_kovic Před 2 lety +107

    This is amazing! It always warms my heart to see more ambitious N64 homebrew but this is utterly incredible, even at such an early stage.

    • @james.lambert
      @james.lambert  Před 2 lety +25

      I'm hoping it isn't too ambitious but I figure it is the perfect project for me. I enjoy the technical side of making games the most and this way all the artwork is already done for me.

  • @InsideOutAnus
    @InsideOutAnus Před 2 lety +51

    Wow! Your physics system is impressive. Even if you end up simplifying it, having at least a proof of concept port is an exciting thought.

  • @MilesFlavel
    @MilesFlavel Před 2 lety +38

    If you don't require object-to-object interactions, you could get away with freezing objects after they come to a rest (assuming you're not already)

  • @kantackistan
    @kantackistan Před 2 lety +8

    That was the first thing I was going to recommend: If the box doesn't rotate, substantial simplification. But also I don't remember any instances where the Box rotating was necessary or helpful in portal, so I think it might be an acceptable break from reality

  • @weignerg
    @weignerg Před 2 lety +19

    Physics does not need to be calculated on two objects that have little or no velocity difference between them.
    Once an object has come to rest against another object, physics should be paused until another object is in range and has enough velocity difference.

  • @CreatorofSecks
    @CreatorofSecks Před 2 lety +7

    This stuff makes me appreciate older hardware

  • @chemergency
    @chemergency Před 9 měsíci

    The Havok physics engine being replicated on N64 hardware is nothing short of programming wizardry. Factor 5 developers would be proud.

  • @epicmaster46
    @epicmaster46 Před rokem

    So awesome. Demakes are always fascinating, and this one being one of my favorite games of all time has me hyped. Definitely following this closely.

  • @44890chrisc
    @44890chrisc Před 2 lety +5

    I'm not sure if the coding for it is public but didn't Rocket Robot on Wheels have real physics on N64 hardware?

  • @hyakin7818
    @hyakin7818 Před rokem +1

    You could activate physics for a cube, if it's in the air and if it collided with the ground, a timer will activate in which the cube has time to orient itself to the ground, when the timer is off, the poaition of the cube gets rounded and leveled to the ground evenly

  • @deadfishy666
    @deadfishy666 Před rokem +1

    If all else fails you can just make simple physics like in most 90s games. It won't really matter in the end I think.

  • @jackcarterdrelias
    @jackcarterdrelias Před 2 lety +1

    Really nice, inspiring proof of concept.

  • @MrTheSaxon
    @MrTheSaxon Před 2 lety +1

    Exciting stuff!

  • @Minirow
    @Minirow Před 2 lety +1

    How do you plan on doing music for this game? (I'm a huge fan of Portal, and this demake is looking awesome). If there's any application system or way to help out, it seems like a super awesome project I'd love to try and compose for.

  • @iamturokn64
    @iamturokn64 Před 2 lety +3

    Amazing 🤩

  • @dystopicheaven
    @dystopicheaven Před 2 lety +1

    This had inspired me to learn C :)

  • @schmantikor
    @schmantikor Před 2 lety +1

    I dont know if you're trying to run it on the actual console or on an emulator but wasn't there a specialized cartridge with built-in hardware improvements?

  • @TinyDeskEngineer
    @TinyDeskEngineer Před 2 lety +1

    Someone's going to make it run on a TI-84 someday

  • @ejbevenour
    @ejbevenour Před rokem

    Your a true Legend making this!!!!
    Keep killing it!!

  • @CamperCarl
    @CamperCarl Před rokem

    Could just make it a big sprite that always billboards the camera. Wont look good but it'll solve the cpu issue.

  • @Zinkolo
    @Zinkolo Před 2 lety +2

    Holy fug.
    You just need to speed it up and make it so that carrying it physically moves it in the space instead of attaching it to your character and you're gold!!
    I only know the C sharp and have experience with unity so take everything I say with a massive grain of salt.

  • @no-no-noku
    @no-no-noku Před 2 lety +2

    Who knows this might turn out like the portals being able to render 14 rooms at the same time.
    But in reality I feel like this isn't going to play out like that, I would be more than okay if you had to use a simpler physics engine in order to make more elaborate rooms/puzzles.

  • @nowicando7651
    @nowicando7651 Před 2 lety

    keep this work up, I sure like!

  • @KrakenCasting
    @KrakenCasting Před 2 lety

    Just Lames Jambert doing Lames Jambert things. XD

  • @pleasedontwatchthese9593
    @pleasedontwatchthese9593 Před 11 měsíci

    I just asked this in another video and now i found it lol

  • @megaflops3860
    @megaflops3860 Před 2 lety +1

    Great! I love it ☺

  • @AnonimasFLK5
    @AnonimasFLK5 Před rokem

    based man does beyond based things

  • @richieb74
    @richieb74 Před 2 lety

    Is this actually running on real hardware? Or is this kinda fake just being displayed though the hardware. Is it normal silicon in the cartridge?

  • @zion6680
    @zion6680 Před rokem

    The physics are awesome. Does it still target the original specs of the N64?
    If you'd shown this to N64 or PS1 owners back in the 90s I think our minds would have been blown lol

  • @691337420
    @691337420 Před 2 lety

    How did you start working on a Nintendo 64 game?

  • @SprucePotato
    @SprucePotato Před 2 lety

    mmmh

  • @jeterjr28
    @jeterjr28 Před 2 lety

    Dude could we be friends? Maybe I could come over and just do your laundry or something? 🤪
    Too cool.

  • @Frappe3621
    @Frappe3621 Před 2 lety +1

    You should call it Source64 lol