in the image above, there is a circular depiction indicating the area of effect for an in-game weapon. This circular effect maps itself onto terrain, so that the effect shows clearly where it will strike, and so that the effect does not clip with the terrain or float in the air when on uneven ground. I was wondering if an effect like this would be possible on roblox?
Bumping once to see if anyone else knows an answer. If anyone knows specifically if it isnt possible, that would be awesome to know too
I’m sure there are ways to achieve this, one way im thinking is possibly creating a premade flat mesh with bones along anywhere you want them to “stick” or conform with the terrain, and then based on the radius of your effect you can dynamically scale it based on how you see fit and then at the same time raycast from all the bone positions within the mesh and put them at where the raycast hit?
Just thinking about it logically this seems like the way to accomplish that simply, another way I was thinkin was possibly an editable mesh but not too sure though… maybe in conjunction with an editable image? But yeah thats way too advanced I feel like, well for me at least
Are you talking about this circle ?
and if you have it in a circle, and there is terrain, would it then be like a jagged circle like shape that does not have smooth up top?
way that might work are parts…/ meshes
or beams
or special light system that work like beams…
or perhaps custom particles that either emit upwards , or downward or such … which you prob could get a pretty cool effect
Beam with a zindex or a particle in an attachment… with a zindex
particle of the image would be easier than making it out of beams
he specifically said he doesnt want it to clip through the ground
so it has to be on top of the ground?
which means it is going to be some jagged shape relative to the ground heights , which would look like crap, and it would not hold the shape
and the ref image, prob that surface terrain, is all flat… any you can see that it clips through the buildings …
I think beams are going to either clip through the terrain or be in the air… or both same with particles… I dont think zindexing works on terrain… but maybe…
if you looked at my suggestion, youd see that this could probably be achieved using a mesh with bones
probably utilizing the surface normal of the raycast
sounds like a good puzzle to try and do…
one of my ideas is starting to look pretty spiffy! …
now for the terrain puzzle…
plus it is real time movable and expandable…
Oooh
does this utilize lighting to accomplish?
Sorry, it wasnt a very good reference image. Yes, the intention is that it would conform to the height of the terrain
What might be the performance costs incurred with this design? probably not too bad right?
Yeah they wont be too bad, as long if your using looping through them using ipairs you should be good, but im not sure what @Lord_BradyRocks used up there but that could be a better option
the above is using beams, but I am also playing around with lights
Anyone else take a stab at trying to make the effect?
Would be cool to see,
Funnily enough this existed all the way back in 2018.
However, apparently mobile lacked the technology at the time to implement it so it got scrapped. A shame really, considering that mobile would now support this feature. Hopefully they can add it now.
As for what you can do until they officially add this, you can try implementing a skinned mesh that deforms the bones inside of it to match the terrain, likely using raycasts or something similar to see where the terrain is.