Alienhead Posted November 6 Share Posted November 6 Josh could you please update the docs or show my how to cast a object as a type... The current docs show: ( but this fails ) self.mesh = self.mesh:As<Entity>() Would it just be? self.mesh = Model(self.mesh) Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Josh Posted November 6 Share Posted November 6 What page is this on? 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...
Alienhead Posted November 6 Author Share Posted November 6 https://www.ultraengine.com/learn/Object_As?lang=lua 1 Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Solution Josh Posted November 6 Solution Share Posted November 6 The command doesn't actually exist in Lua, but I added a page there anyways that explains it. 1 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.