xtreemze Posted June 9, 2018 Share Posted June 9, 2018 Once a ray is created, is it possible to dispose/delete the Ray so it can be cleared by JavaScript garbage collection? For instance, what happens to the Rays that are using a disposed mesh as an origin? Quote Link to comment Share on other sites More sharing options...
trevordev Posted June 10, 2018 Share Posted June 10, 2018 Are you seeing that the memory is still existing? I believe it should be garbage collected as soon as there are no references to it existing, just like Vector3 or Quaternion objects. 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.