Hey.
So I know it's possible to create a sphere around the a Vector3 location, plugins such as CupboardZones (if that's the right name) use this to show the building radius of the cupboard.
Is it possible to create an ellipses around a Vector3/player?
After browsing the Unity forums for a bit, I've found that most people seem to be adding a LineRenderer to their game object and using that to draw an ellipses. However with Oxide we can't add components to game objects, and the player game object doesn't contain a LineRenderer by default.
Is there any way around this, or a different method to draw an ellipses? Or perhaps it's just not possible?
Thanks, PsychoTea
Possible to create an ellipses around the player?
Discussion in 'Rust Development' started by PsychoTea, Oct 2, 2016.
-
Wulf Community Admin
Oxide isn't really the limit, it's that you need to be able to communicate from Rust server to the Rust client, but that only exists for select things that Facepunch exposes.
-
Ah I see. I assume using my previous method of adding the LineRenderer component wouldn't work in this case since it would only be added to the sever side instance of the player and not the players client.
Is it possible to create a sphere which would be 1 meter above the player and 3 meters in other directions? Maybe a really big sphere placed under the player so the player only sees the top portion? -
Wulf Community Admin
Pretty much. You could take a look at the dome that ZoneDomes uses from Rust, that may be what you'd like. ZoneDomes for Rust | Oxide
You could essentially create 2 of those domes from Rust to form a sphere where you want it.

