What if i create one plane, and add this another plane mesh as a
submesh of this first plane? this way it would have the same effect
for me. Is it possible?

On May 2, 11:57 am, Agoth <[email protected]> wrote:
> Hi. I am curious about how to manipulate the subdivisions of an
> primitive, in this case, a plane. When you create the plane primitive,
> you're asked how many width and height segments you'd like to have.
> What is the purpose of these parameters? As far as i know, regardless
> of the number of segments, a plane have only one submeshe and
> subgeometry (the plane itself), and you can't get the segments (faces)
> as if they were one of those.
>
> What i wanted to do was to get the faces (or segments) of a primitive
> and detect collisions with mouse and change it's material when this
> happens.
>
> How can i do it? I'm betting that i have to get the individual
> vertices forming the face/segment i want to change. If that's the way,
> it seems like a lot of work (specially identifying the vertices). Is
> that so? Any ideas? Thanks!

Reply via email to