Sign in to follow this  
Muncher

LUA problem... soft of

Recommended Posts

Muncher    101
Hi, i've started using lua for scripting for my game engine. But when you register C functions so they can be called, i've noticed that you can't register a class function. Is there a solution that allows me to register any C class function in LUA without declaring them as static?? Cheers for any help :) Muncher

Share this post


Link to post
Share on other sites
Muncher    101
ohhh soz, i mean a member function of a class...

ie/ cEngine.renderScene() wont work with LUA unless renderScene() is static or not part of a class...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this