My demo is that: a car drives in a level, there are some other models in the level and a map on the screen to display the suroundings around the car.
So the map should displays the other models on it and I use ent_createlayer(...) to create view entities representing the models on the map. The function ent_create(...) only create entity in the level, here my view entities are on the map(screen).
Thank you very much!