3D Object handler functions
-
Greetings,
(We come in peace)Are their any additional 3D object handlers or any incoming? For example, obtaining the current location, and perhaps even size/width/scale— getObjectPos( ), getObjectScale( ).
Looks like currently the best option is to store these parameters in some global variables in order to reference them. I’m all ears (or eyes), if there’s a better way for now to do this.
Thanks!
-
Hi @Jongjungbu
Currently I have been doing just that and storing the position and scale data in global variables. Usually these will be properties in an array used for things like the player, enemies etc.
I'll ask at the office to see if there's a better way!
-
Thanks @Dave
That was my plan eventually, to store them in an array of structs. If I didn’t hear of any better options that is. But I haven’t gone with that quite yet. For now I still have sloppy unorganized code. 😄