Limits on the dimension of the geometry


(GhPGame) #1

Hi,

I need to define an infinite plane (to represent the floor of the scene and every object in scene is placed on top of the floor). I wanted to ask is there any limit on the dimension of the defined geometry?
Thank you.


(Brett Paterson) #2

This function and its comments should answer your question
https://www.fmod.org/docs/content/generated/FMOD_System_SetGeometrySettings.html

Setting maxworldsize should be done first before creating any
geometry. It can be done any time afterwards but may be slow in this
case.

Objects or polygons outside the range of maxworldsize will not be
handled efficiently. Conversely, if maxworldsize is excessively large,
the structure may loose precision and efficiency may drop.