Ywa Posted October 9, 2014 Share Posted October 9, 2014 Hi folks, Is there a way to make Entity::UpdateMatrixHook hook work in Lua? I don't understand how it's supposed to work. Thanks. Quote Link to comment Share on other sites More sharing options...
Josh Posted October 9, 2014 Share Posted October 9, 2014 This is not a function the engine calls in scripts. 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...
Ywa Posted October 10, 2014 Author Share Posted October 10, 2014 Would it be easy to add that? I'm currently checking the matrix every frame, but I'd rather let the engine handle this for performance reasons. Quote Link to comment Share on other sites More sharing options...
Josh Posted October 10, 2014 Share Posted October 10, 2014 What are you using this for? 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...
Ywa Posted October 15, 2014 Author Share Posted October 15, 2014 I want to sync entities between 2 applications through networking. But I want to know when their matrix changed so I know when to send an update to the other application. I'm doing this is in Lua now but my method is leaking memory. (still trying to solve that) So having a hook for this would be great! Quote 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.