Jump to content

Houdini Roller Coaster help


jetlag5

Recommended Posts

Hi there,

 

Just wondering if anyone here has had any success at creating a roller coaster in Houdini, I'm trying to do this, with a loop, and continuously run into the issue of flipping normals or vectors, which affects my ability to A) build the rails along the backbone of the roller coaster, and B) animate a cart along the path, as it flips half way up the loop, and back down.  

 

I've essentially just done a curve to a resample to a polyframe, and it seems I'm missing a step before skinning and animating on that curve.  I've attached my hip file as well.  Thanks for your time!

Coaster_Test_v02.hip

Link to comment
Share on other sites

Thanks Loopy LLamma!  That helps.

 

I used a line with 2 points animated along the path (trail+add sops) to create the rails along the sides of the main backbone of the rollercoaster.  There is no flipping going on anymore.  The thing I do notice now, is that I lose the banking of the rails as the track bends and turns.  Is there a way to get this back using this method?  I've attached an image, and the hip file.  Thanks again for the help!

post-10126-0-05520500-1418566384_thumb.p

rollercoaster_v02.hip

Link to comment
Share on other sites

Thanks kgoossens.  I've played around with it as well, and it seems each curve can be slightly different to transform.  I tried this with cursive text as a curve. (as in the track of the ride creates cursive text), and that doesn't work at all, at least not without manually moving the points around after the smooth, but that's not a procedural method by any means.

Edited by jetlag5
Link to comment
Share on other sites

Agreed Kgoosens, It seems the loops are the biggest issue in creating a fully procedural roller coaster.  I'm still trying to find a way to figure it out, for now, a hack would be to cut between shots, and use Kim's method for non loop shots, and Jim's method for looped shots.  That really isn't ideal, but when you're on a time crunch...

Link to comment
Share on other sites

Hi Daniel,

 

I'm sorry that it might be too late for the project you need, but I was occupied with other things.

I've added a better solution, this one takes into account the velocity the car would have at a specific place to calculate the curvature. This means that you can do loops etc... The only "limitation" now is that you have to make sure that your car has enough speed before entering the loops, and you have to set the starting point on the curve. 

rollercoaster_v02-Orient.hip

Edited by kgoossens
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...