3D Model Data
-
It would be cool if we could see:
the collision boxes of models
the point where the objects position is measured from
the dimensions of the models and their collision boxes
the animation IDswhen viewing models in the media section.
Not knowing this info straightaway has made it difficult to code for collisions with these models.
Edit 1:
Also having a variable which tells you what the struct/handle is would be very useful.Something like:
handle.COMPONENT_NAME
so that you get "model" if it's a model or "image" if it's an image.
-
It would definitely be useful. The 3d side of fuze is definitely a lot less fully developed than the 2d side. If you search on the forum, someone has developed a demo showing collision in 3d along with loads of useful functions inside it, including stuff to detect object size. I haven’t used it myself but someone else said it came in handy.
-
yup i used that project (functions) to measure objects
-
Those would certainly be very helpful. We definitely want to make improvements to the 3D side in future so I'll keep a note of those suggestions, thank you!
-
EDIT: Just realised you were asking about viewing models in the media previewer. Apologies that my answer isn't what you're looking for, but I'll leave it here anyway just in case it'll help others!
Not sure if you're aware, there may be a couple functions to help with what you want already. However, we don't everything you've asked about and certainly @Kat is correct, we will be improving these areas.
For seeing collision boxes of 3D Objects, you can do:
showObjectBounds( enabled, colour, thickness ) // 'enabled' is a true/false for on or off
If you'd like to change the collision box dimensions, you can do:
setObjectCollisionScale( object, scale ) // 'scale' is a vector for scale multiplication of 3 dimensions
-
This was the reason for my post. The place position for the dirt block is on top but for the grass one it's on the bottom