09-17-2023, 10:11 AM
When using a Volume Spots module, the bounds of a gameobject is defined as the bounding box englobing the meshes and colliders of the input gameobject and its children. The code is defined in CGGameObject.RecalculateBounds(). I see the following solutions:
- You can for example modify that code to put any custom logic.
- You can also, without any code modification, add to your gameobject a child collider/invisible mesh (mesh with no renderer). That way the existing code will consider the object bigger than it visibly is.
I hope this helped.
Have a nice day
- You can for example modify that code to put any custom logic.
- You can also, without any code modification, add to your gameobject a child collider/invisible mesh (mesh with no renderer). That way the existing code will consider the object bigger than it visibly is.
I hope this helped.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.