Changing model category in runtime
Moderator: Moderators
Changing model category in runtime
The possibility to change the Model.Category in runtime (eg., in expressions placed to OnUpdate or OnSpawn sections) would help in some situations; for instance, to restrict the number of models used for collision detection. The attached example demonstrates the idea - it does not work with the current ZGE beta release where changing CurrentModel.Category in runtime has no effect.
- Attachments
-
- test.zgeproj
- testing project
- (1.54 KiB) Downloaded 513 times