Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Negative extrusion height.
#1
Hi,

I'm aligning objects on the spline and having characters run on it which all works fine, but i'm also using the mesh builder to extrude the basic rectangle shape along the spline to make for a road. The problem is that the builder doesn't seem to support extruding the shape negatively along the up vectors, forcing me to give all the things i place on the spline a vertical offsets and making things a bit difficult especially if the extrusion is quite high.

I tried getting around this by using custom shapes, but i get the same bug as discussed in the thread below and the mesh ends up being broken. It doesn't seem a large change to me to allow negative extrusion , so is it possible we might see this in a future release?

Thanks!
Reply
#2
Do you speak about a negative height of the rectangle shape?
Reply
#3
(06-08-2014, 07:31 PM)'Jake' Wrote: Do you speak about a negative height of the rectangle shape?

 

Yes, i mean the rectangle shape, but I guess i worded myself a bit poorly. =) I want to extrude only negatively, so that the shape will remain "under" the spline and wont intersect with my runner and my aligned objects. Now, as you must know it's extruded to both up and down sides of the spline.

This change would be a huge help! =)
 
Reply
#4
This will be possible with the new system. Until that you could have a look into the MeshHelper.CreateRectangle() method. It provides the shape used in the extrusion and ranges between -0.5 and 0.5 (that got multiplied with the width/height parameter in the extrusion). Just alter the vertices y value to range from -1 to 0 (or lower if you want more offset).
Reply
#5
(06-09-2014, 06:11 PM)'Jake' Wrote: This will be possible with the new system. Until that you could have a look into the MeshHelper.CreateRectangle() method. It provides the shape used in the extrusion and ranges between -0.5 and 0.5 (that got multiplied with the width/height parameter in the extrusion). Just alter the vertices y value to range from -1 to 0 (or lower if you want more offset).

 

Ok, thanks for the reply. I'm using Playmaker though so i don't think i'm really profficient enough to edit the scripts themselves. I can use the "line" shape for now so it's not that terrible, but can you maybe tease any date for this new system? Sounds really cool =)


 
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Simple Spline Extrusion GelsonBieber 3 613 07-29-2020, 02:34 PM
Last Post: _Aka_
  Allow higher amount of mesh-faces on extrusion King_of_Limbs 3 414 07-11-2020, 09:02 PM
Last Post: _Aka_
  Extrusion does not match Controller position JasperBPT 3 641 05-26-2020, 10:18 PM
Last Post: _Aka_
  Using shape extrusion with small shapes amccraw 5 1,501 02-15-2020, 03:07 PM
Last Post: amccraw

Forum Jump: