Subliminal
Bugsmashers

Star Citizen: Bugsmashers - Episode 34

12 October 201600:05:37122 linesWatch on YouTube ↗

Transcript — every row opens the video at that moment

  1. 00:00:06

    [Music] hey everyone welcome to bug Smashers hope you guys enjoyed citizen con I know I did it was fun meeting and greeting you guys and I can't wait to do it again uh today we got a special bug for you today it was a little bug we had to deal with before showing you guys that demo so let's take a look bug bashes hey everyone we're here in this fancy level look how wonderful it is a it's so beautiful but we have here a Rover and in case you guys didn't see the demo uh you basically would fly in the constellation land down go in the Rover

  2. 00:00:55

    then head out into the Oblivion and sometime later you would actually get am bushed and your front wheel would just pop off from an explosion boom then you get out and shoot all the baddies um so it actually didn't look like that the very first time designers set it up in fact it looked quite strange and I have here the test conditions of what it looked like so let's see what happens when the explosion happens and then the front wheel is supposed to fall off so let me hit the magical button boom not quite what the designers had in mind uh I don't think they expected the tire to float off into Oblivion um kind of magical but not what we wanted H lovely lovely lovely all right let's jump in the code and see what's

  3. 00:01:43

    happening so here we're into the magical bits of code uh we're in this thing called vehicle part base it's basically the sub or the common code that all of our parts have if you have a wheel if you have a wing if you have a cockpit all the part codes that's common with those thing are in here and this specific section of code handles when a part gets attached we could have multiple Parts get detached and we stick them onto a debris piece and they're supposed to bounce around tumble all which way and this particular bit of code will handle um offsets so if we have two different debris pieces they kind of get into a a little bit to the left little bit to the right and our Center here so that they tumble correctly or if you have one it sticks at the or like a tire so it's supposed

  4. 00:02:31

    to blly wobble as it should um but once we get past that part um we basically physicalize those pieces onto a specific slot on that entity and when it gets this part it actually goes through the entity goes through the physical proxy which is like our game code Handler for the physics it's one step before our physics engine and inside of here woo this update slot geometry you're supposed to send it a mass otherwise it tries to compute it based on property set inside like Max um these things are actually supposed to be automatically computed um they actually are in other sections of code but this particular area where you're actually modifying or

  5. 00:03:21

    updating if you don't already have mass defined it tries to get it from the property set in Max uh which is a problem because we want these things to be dynamically determined now we already have that MK that determine what that like wheel supposed to be so rather at determining what it should be when we already know what it is let's just pass that mass in we'll have to change the interface a little bit so that we could add a mass we'll make the default negative 1 so it acts like it should in other situations or what it was in other situations so once we add the mass Master the interface we want to send it to the physics proxy and hopefully with that said and done we should see our wheel kind of tumble I know I know it

  6. 00:04:10

    folding off into the Oblivion was nice but designers don't like that very much all right we hit recode let's give it a wait and see what happens all right so we hit recode let's see what happens when the tire falls off haha it acts like it should woo physics can move it around and everything yeah Tire physics well hope you guys enjoyed that fun bug so as you guys saw we had a little case of the uh the wheel floating away into Oblivion not quite what the designers wanted but it was kind of cool um you know the same thing you guys were seeing in the current

  7. 00:04:57

    build where you blow up a ship and some Breeze kind of like act strange or they stay still it was just because they were getting no Mass um it was an easy fix so hope you guys enjoyed and hope you guys see that those floating debris are gone till next time bam thank you for watching so if you want to keep it with the latest and greatest and Star Citizen of Squadron 42's development please follow us on our social media channels see you soon

Transcript from YouTube’s automatic captions — punctuation and Star Citizen jargon are approximate. The video itself is hosted by CIG on the official channel.

Squadron 42

LiveSQ42 Launch Subathon

$2,094of $3,000

Getting Sub to Manchester for the Squadron 42 launch

Next giveawaySubscriber Store pick
$6.27to go