Optimization Question
I have an actor that use 2 constrain attribute to be behind main actor and make effects with particle behavior. As I know, constrain anttribute is pretty "heavy" behavior. Maybe it will be wise to make those effects with spawn actor behaivior on main actor with tag spawn behing actor. What do you think?
Comments
Keep in mind that constrains and timers are fine to work with so long as they are used in moderation. Just keep a careful eye on performance at each stage of development and use the note behavior to help you keep track of things for later on.
I've got about 14 unavoidable constrains in my current project as well as 15-20 timers, but through extreme care and a vigilant eye the game is maintaining 60fps on arch7 devices.
1. Actor that use 2 constrain attribute to be behind main actor and make "smoke effect" with particle behavior. (i this case i have 1 extra actor, that always use 2 constrain attributes, and particle behavior)
or
2. Or make same "smoke effect" with actors that will spawn behind main actor with spawn actor behavior with tag spawn behing actor. (in this case my main actor always spawns and destroys actors to emulate smoke effect)
Shadows Peak is an atmospheric psychological horror that explores the dark side of a player.