4 ms·
Not sure what you cover by "NPC objects" but they easily can participate in physics and AI as well (or at least basic scripted behavior). Also significant game
by slver 6y ago
Not sure what you cover by "NPC objects" but they easily can participate in physics and AI as well (or at least basic scripted behavior).
Also significant game state is not only represented by renderable content.
- kaba0 6y agoWell, if it’s physics as well, then yeah having a separate NPC objects may not be the best idea (though if the physics engine awaits some primitives, like for each “object” 3 coordinates before simulation, and then sets the corresponding position on each NPC, it may be fast enough). But Valhalla really is coming, and until many many games have more than enough performance packed in the JVM already.