Oh, actually I did think of something else that I would like to see:
Could you create a function which would allow you to retrieve the "parent" of an emitted object? (eg, toucher.getEmitter?)
Oh, actually I did think of something else that I would like to see:
Could you create a function which would allow you to retrieve the "parent" of an emitted object? (eg, toucher.getEmitter?)
@anton_s said:
Hello, William!
Yes, SP doesn't have these methods. The API is quite incomplete.
I just added getLifetime, getLifeStart, and getLifeEnd.Is there any other getter or setter functions you think shall be added before I post an update? Sorry, I can't think of any myself.
Sorry for taking so long to get back to you. Thank you for the info!
Hi there! I've been an on and off user of sketchyphysics since 2.0.
Would it be possible to create a way to get an emitted object's lifetime? I know about the setLifetime function, but is there a similar "getLifetime?"