Hello. I'm looking for a way to make dynamic barricades. What I mean by that is:
Think of a piece of wood plank
It can be found on the world (has physics by itself)
Can be picked up and placed on a doorway (gets frozen in a place that is either pre-set or dependent on player)
Stays on that place until it gets destroyed (fractures)
Pieces fall to the ground (no collision at this point) and fades away
I'm thinking about creating an barricade actor and representing the above characteristics with relevant states. Barricade state, Destroyed state, laying around the world state etc. That would be the logical thing to do I think, however, I'm not really sure if this approach is as simplistic as it can get. Is it a good idea to fiddle with the physics and collision volumes in different states? Is it possible at all to have different physics characteristics inside 1 actor.
I assume changing meshes or materials wouldn't be too difficult (I haven't done it yet but I've seen lots of questions about the on forums so I can probably figure that out), but I'm not really sure about other stuff.
What would be the most simplistic way to do this kind of thing, is 1 actor (and creating archetypes of that for various meshes with different collision characteristics) is the way to go?
Any thoughts on this is appreciated![]()



Reply With Quote

Bookmarks