Quote: "@STAB-Making an entity dynamic, such as an EBE building or barrel or character, you can add LUA scripts to them. On a side note, I found when creating my apps, that NPC's work better if a building is set as dynamic. They respond better, but that was a few months ago when revisiting glass breaking for FPSC levels. IF I made an FPSC level that I'd imported into GG and set that level to dynamic and added a couple of character enemies, they climbed through the windows (when broken). With building set to static they didn't do much just looked lost."
Well, then this is one of the major problems with GG. Buildings should NEVER be DYNAMIC.
Setting an entity to DYNAMIC causes GG to make the entity a dynamic physics object.
The more DYNAMIC objects the physics solver has to handle the slower GG runs.
Only entitys that will be moved by physics (e.g. a rolling barrel) should be DYNAMIC.
All other entitys that will be not be moved by the physics engine(e.g. a stationary building) must be STATIC.
Seems very wrong that an entity needs to be DYNAMIC to have a script attached to them.
Another slow down is that GG creates a DYNAMIC NPC controller which when interacting with
say a building that you have made DYNAMIC adds to the work load of the physics solver.
The NPC should be Kinematic only. Kinematic interacting with STATIC objects do not
slow down the physics solver.
The coffee is lovely dark and deep,and I have code to write before I sleep.