Frictional Games Forum (read-only)

Full Version: is it possible to get static objects to become dynamic?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
there is an object in static objects/debris in the editor that I would like to be affected by gravity or the player and what not. is this possible?
Yes, it's possible. You just need to make an entity of it using the model editor.
how would I make it an entity?
(03-16-2013, 10:51 PM)PixelHurricane Wrote: [ -> ]how would I make it an entity?
1- open the model editor and use import mesh to import the desired static object

2-create a shape and fit it to your object, for some objects you will need to use more then one shape to make it fit probably.

3-select all the shapes and hit the " create body" button. The shapes are united into one shape that is know as a body, you will need to do this step even if you only use 1 shape since physics and such only work with bodies.
remember the body is the collision of your model, not the model itself.

4-Select the right filter and attach the static object to the body

5- go to user defined variables and select what kind of type, and subtype you want your entity to be

5.5-
For more advanced entities you may need more then just bodies.
Door and closets fx will need hingejoints. look at other entities with simular feutures for reference on how settings and such should be done.

6- tweak settings to your needs in user defined variables,as well as for the body itself. mass is essential if you want it to be affected by gravity.

7-Test if your entity works in the testing mode found at the bottom of the interface.

8-save you model

PS: for further information take a look at how other models were made and what their settings were, or maybe visit frictionalgames wiki though it lacks a lot of documentation in some areas.
which model editor are you referring to?
I'm using Blender and I can't find those functions
It's in the HPL2 editor tools you downloaded...
- LevelEditor
- MapView
- ModelView
- ModelEditor
- MaterialEditor
- ParticleEditor
(Idiotic answer, not to be taken seriously.)
1. Whatever martinnord said
2. ???
3. PROFIT