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
Bug Extrusion and scale curve issues Sacryn 3 6 04-08-2022, 12:30 PM
Last Post: _Aka_
Bug Shape Extrusion does not align with Input Spline Shape bit9labs 1 2 04-08-2022, 12:27 PM
Last Post: _Aka_
  Mesh Deformation vs Mesh extrusion Mambosa 6 20 03-04-2022, 04:43 PM
Last Post: Mambosa
  Problem with combining shape extrusion and DistanceToTF kazlik 3 3 01-08-2022, 11:53 AM
Last Post: _Aka_

Forum Jump: