jerome Posted June 3, 2015 Share Posted June 3, 2015 Hi, I'm currently coding a PG path3D use case. I would like to show a rollercoaster : http://www.babylonjs-playground.com/#1JPPXD(path3D model with tangents, normals, binormals on left, final rollercoaster mesh on right) Actually, I would like to do something like this threejs demo when you click on "pline animation ON" http://threejs.org/examples/#webgl_geometry_extrude_splines. As I didn't investigate BJS cameras so far, I wonder what kind of camera I should opt for : a TargetCamera ? My needs are :the cam can be positioned dynamically in space, this position can't be modified by user controls (keyboard, mouse)the cam can aim a target (vector3) or else (don't mind wingy ) can aim with an axis (vector3)the cam can be rotated/aligned in space, so I could make follow the rollercoaster rails curve... or maybe should I set it in a rotated parent mesh ?Any clues appreciated [EDIT : in the threejs example, the cam doesn't rotate with the curve] Wingnut 1 Quote Link to comment Share on other sites More sharing options...
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.