Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Model Editor Help is it possible to get static objects to become dynamic?
PixelHurricane Offline
Junior Member

Posts: 24
Threads: 8
Joined: Jul 2012
Reputation: 0
#1
is it possible to get static objects to become dynamic?

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?
03-16-2013, 08:49 PM
Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#2
RE: is it possible to get static objects to become dynamic?

Yes, it's possible. You just need to make an entity of it using the model editor.

In Ruins [WIP]
(This post was last modified: 03-16-2013, 11:05 PM by NaxEla.)
03-16-2013, 09:40 PM
Find
PixelHurricane Offline
Junior Member

Posts: 24
Threads: 8
Joined: Jul 2012
Reputation: 0
#3
RE: is it possible to get static objects to become dynamic?

how would I make it an entity?
03-16-2013, 10:51 PM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#4
RE: is it possible to get static objects to become dynamic?

(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.
03-17-2013, 01:43 AM
Find
PixelHurricane Offline
Junior Member

Posts: 24
Threads: 8
Joined: Jul 2012
Reputation: 0
#5
RE: is it possible to get static objects to become dynamic?

which model editor are you referring to?
I'm using Blender and I can't find those functions
03-20-2013, 01:59 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#6
RE: is it possible to get static objects to become dynamic?

It's in the HPL2 editor tools you downloaded...
- LevelEditor
- MapView
- ModelView
- ModelEditor
- MaterialEditor
- ParticleEditor
03-20-2013, 03:45 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#7
RE: is it possible to get static objects to become dynamic?

(Idiotic answer, not to be taken seriously.)
1. Whatever martinnord said
2. ???
3. PROFIT

"Veni, vidi, vici."
"I came, I saw, I conquered."
03-20-2013, 02:51 PM
Find




Users browsing this thread: 2 Guest(s)