PellePixel Posted July 7, 2004 Share Posted July 7, 2004 How place an array of posts creating a fence there everybody should be vertical even if the spline is 3D? Tried Spacing tool & Follow that is near the solution... all posts follows in the tangent direction but they are not vertical. Think I did this in an early 3Dmax version but forgotten how. Using several hundred posts when making road barriers. Link to comment Share on other sites More sharing options...
abicalho Posted July 7, 2004 Share Posted July 7, 2004 Don't use Follow and they should all remain vertical. Link to comment Share on other sites More sharing options...
PellePixel Posted July 7, 2004 Author Share Posted July 7, 2004 Don't use Follow and they should all remain vertical. Yes, but if you have an shape/section on the post (most common) that have to follow the spline when it turns then it will not work (?) - the posts will (without "follow") keep the same direction For example a post with a rectangular section should of rotate with the spline when it turns. Link to comment Share on other sites More sharing options...
abicalho Posted July 7, 2004 Share Posted July 7, 2004 I see now. I don't know of a solution except when using MAXScript. Do this: create all your clones with Follow. Then select them all, open the MAXScript Listener and evaluate these 2 lines: for i in selection do i.rotation.x_rotation = 0 for i in selection do i.rotation.y_rotation = 0 Now your posts should be rotated only in Z, and all vertical. If they show upside down, set the X rotation = 180 instead of 0. Let us know if it works. Alexander Link to comment Share on other sites More sharing options...
PellePixel Posted July 7, 2004 Author Share Posted July 7, 2004 YEAH!! It works... I have been afraid from scripting but after a little intro I now have made a button for straighten upp leaning things. Super! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now