toxic72 Posted February 23, 2014 Share Posted February 23, 2014 Is there any way with the lua api / indie edition to dynamically create walls and all other bsp stuff at run time? Im trying to work on a different level editor loader... Thanks in advance. Quote Link to comment Share on other sites More sharing options...
YouGroove Posted February 23, 2014 Share Posted February 23, 2014 You need to create the rendering model : http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/model/modelcylinder-r350 Then create the collision Shape : http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/shape/shapecylinder-r519 And set it's collision. You can find lot of examples : Just look at this Lua example it create colliding primitives at runtime and set it's collision type : http://www.leadwerks.com/werkspace/page/tutorials/_/introduction-to-raycasting-r13 Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Josh Posted February 24, 2014 Share Posted February 24, 2014 The brush class is rather complex and involves a lot of different update parameters, so this is not an official feature. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.