+1 vote

Projectors in Unity allow the developer to Project a texture onto a Mesh, such as a floor or a wall. Projected textures are useful for a variety of things which I can demonstrate examples of.

they are often used in RTS, or MMO's, where individual units can be selected with the mouse cursor. Often giving indication of, not only the unit being targeted, but their alignment to the player (hostile, friendly, neutral)

The first two examples are of Projectors being used in the game World of Warcraft.

this is a selection ring for a unit

The green ring around the feet of the unit is a selection ring which utilizes a projector. Importantly, this unit can and will move around, the ring would be a child node of the player, sharing it's transform. No matter the inclination of the ground-plane, the projector will always project the texture onto the (perhaps, inclined) surface. As the next example will show:

enter image description here

Here is a second example of a projector being utilized onto a non-flat ground mesh, this time, this is a targeting ring which denotes the damaging-radius of an AoE (Area of Effect) ability. unlike the Selection Ring, this Projector has it's own independent transform, and can be translated in 3D space via the mouse cursor, potentially being changed as many times per second as the Framerate will allow, This indicates that as the unit is in the radius denoted, he will receive damage from the AoE ability.

enter image description here

Finally, here is a third and final example of the same selection ring being used in a different game, Warcraft 3. identical to the first example.

-

Is there any way to achieve this currently within Godot 3?
I have been looking for tutorials on the subject, or implementations, and I haven't discovered any thus far.

in Engine by (13 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories