Jump to content
odToad

Tie camera to object (eg Rollercoaster) ?

Recommended Posts

This is one of those "I know it can be done in Houdini, but I cant figure out how" questions:

I have a rollercoaster, with a cart nicely moving and banking along the rails.

I'd like a view from the rollercoaster - as if you were an occupant, and I imagine tying a camera to the carts coordinate frame (eg including location and orientation)

But the cameras are one level "up" from my cart geometry...they do have an input however...

What is an elegant solution for this ?

<pre apologies if this is so obvious that its a stupid question - I couldn't find anything on Google on this - but i am eager to learn>

Share this post


Link to post
Share on other sites

You can do this with the rivet node.

It will require some way to work out the coordinate system of your cart, you'll need 2 axis' stored as a point attribute on the geometry Rivet will access.

 

Here's a simple scene setup:

parent_transform.hip

 

Share this post


Link to post
Share on other sites

That is awesome, thanks Luijee !

(and apologies for the late reply, my notification from the forums landed in spam folder, fixed now)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×