Finding when a new object is created

Finding when a new object is created

Anonymous
Not applicable
303 Views
1 Reply
Message 1 of 2

Finding when a new object is created

Anonymous
Not applicable
I would like to basically intercept any new objects as they're created and assign it a custom type. So I was wondering if there was a callback or something I could use instead of looping and checking for a new object in the scene every frame.
0 Likes
304 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Yes you should be able to do that - there are callbacks you can set up.

You'll want to look up info on NOTIFY_NODE_CREATED and
int RegisterNotification(NOTIFYPROC proc, void *param, int code);


Mike
0 Likes