Rick Posted August 20, 2010 Share Posted August 20, 2010 Thought I'd give this one another go. Can we get a way to specify a Lua method as a collision callback for bodies we create from Lua? This can lead to a huge amount of gameplay and truly benefit people here. Just look at all the new people asking how LE works and will it work for them. A decent number are asking about Lua. They expect triggers to be available. It's a very basic gameplay element. Distance & a number of different model shapes just doesn't cut it in my, and a few others, views. This can't be that hard to implement. Quote Link to comment Share on other sites More sharing options...
Josh Posted August 20, 2010 Share Posted August 20, 2010 Agreed. Instead of a function pointer, the Lua routine can take a string name, so it will be like this: SetEntityCallback(entity, ENTITYCALLBACK_COLLISION, "MyCollisionFunction") 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...
diedir Posted August 20, 2010 Share Posted August 20, 2010 Yep exactly what i need, thanks Rick for asking (formulating...?) and Thanks Josh for agree i can't wait for this Quote AMD Ryzen 5900HX - Nvidia RTX 3070 - 32 Go - 1To SSD - W11 Link to comment Share on other sites More sharing options...
AggrorJorn Posted August 20, 2010 Share Posted August 20, 2010 +76 Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted November 7, 2010 Share Posted November 7, 2010 Is this implemented yet? 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.