The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

Giving Static Meshes Physics

  • Filter
  • Time
  • Show
Clear All
new posts

  • Giving Static Meshes Physics

    Does anyone know how to add physics to static meshes? So if they get shot or ran into the object moves.

  • #2
    This is from Hourences tutorials
    Creating a physics object is much simpler than one might imagine. Find yourself a nice a and small Staticmesh in a package somewhere, and add it to the world somewhere as a regular Staticmesh (Hold S on keyboard, click a surface). Then, rightclick the Staticmesh you've just added to the world, and go to Convert - to KActor.

    Once converted, open up its properties (F4), and in the section KActor, enable bWakeOnLevelStart. You're done! Start up the level, and shoot the object. Provided that the object is small enough, It should move. If it does not, try scaling it down.

    To get your KActor to light up, you will need to enable the Dynamic channel on the surrounding lights, as well as bCastCompositeShadow and bCastDynamicShadows. The last two are optionally and may impact performance.


    • #3
      thanks for the help


      • #4
        Tnx man!
        This one is really cool!


        • #5
          when i convert the static mesh to Kactor it turns it black and when i run the level it doesn't show up.


          • #6
            Check the lighting channels.


            • #7
              ok, i figured out why it was showing up black in the editor. When I load the level the mesh doesn't even appear. Know what could be causing that?


              • #8
                Build / save the map.


                • #9
                  thanks everyone for all the help, i got it working now