9 Commits (2e35a148b80777776a4ef18e88c36135c41bb0f3)

Author SHA1 Message Date
Nico de Poel 2e35a148b8 Use visual style reference to set up world and entity renderers and textures. With this we can clear out a LOT of debug code that was kept around for reference. 5 years ago
Nico de Poel a52b497ccb Reworked entity renderer assignment: both MeshRenderer and SkinnedMeshRenderer are created at the same time on init, and are enabled/disabled on demand. 5 years ago
Nico de Poel a2b8d32c00 Implemented automatic animating of group frame alias models, using the existing AliasModelAnimator component. 5 years ago
Nico de Poel 5390483b0b Upload non-world brush models and allow them to be assigned to entities. It's not terribly pretty but it (mostly) works. There still seems to be an issue with texture assignment on subsequent map loads. 5 years ago
Nico de Poel c14faf2666 Dynamically create either MeshRenderer/MeshFilter or SkinnedMeshRenderer based on whether the model being assigned is animated or not. Gets rid of warnings on un-animated SkinnedMeshRenderers, and removes unnecessary components on brush model entities. 5 years ago
Nico de Poel 0dc5c1a14b Create world submodel game objects and link them to entities, allowing doors and buttons and such to work properly. Also don't bother linking the view entity to a model. 5 years ago
Nico de Poel 66c62001d0 Squashed a bunch of bugs in the alias model animation system and integrated transform/animation updates into the alias model lerping system. Entities are now correctly animated, yay! 5 years ago
Nico de Poel 1a1c219bf6 Removed frame number stuff from SetEntityModel since it's not producing the correct values. Correctly detect non-world brush models and sprites, although they're not implemented yet. 5 years ago
Nico de Poel e6fd7b83ae First bits of entity logic: assign alias models, update transform and animation, remove entity. Still lots of problems to solve, but it's starting to do something. 5 years ago