Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Controlling the camera orientation
#1
I want to keep the camera level to the ground for the first half of its path, the camera then rises about 40 meters above the ground and travels backward through the same set of points from that higher vantage point.  For that section of the curve I wish to pitch the camera down 90 degrees looking straight down at the ground.

I have accomplished the first part of this using orientation anchors set to a level orientation every 5 points or so that keep the camera level.  For the second half of the path I cannot seem to make the camera pitch downward.  I have tried changing the Eulers of orientation anchors so that they are pitched down.  This seems to have no effect.  What am I missing here or is this not the correct method to accomplish this?

dis-orientedly yours,
rda
Reply
#2
You should create a custom controller (create a class inherited from SplineController), then override ApplyTransformRotation() to add your custom orientation setup. Same goes with position using ApplyTransformPosition().

See http://www.fluffyunderware.com/curvy/doc...lerssimple for details.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  2D CurvyUISpline, Orthographic Camera and Handles MichaelH82 1 4 06-16-2022, 12:28 PM
Last Post: _Aka_
  Spline controller orientation itsGama 4 24 01-24-2022, 06:38 PM
Last Post: _Aka_
  Regarding static orientation mydayz 10 285 12-05-2021, 01:25 PM
Last Post: _Aka_
  locking vertical orientation/alignment BenStorch 9 2,476 05-16-2021, 08:28 AM
Last Post: _Aka_

Forum Jump: