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
  Programming a first-person player/camera to follow a Curvy Spline kenmarold 1 6 05-21-2023, 05:03 PM
Last Post: _Aka_
  Manually controlling scale of each CP Maldruzard 1 5 03-27-2023, 10:58 AM
Last Post: _Aka_
  Shapes points orientation itsGama 3 8 01-18-2023, 02:51 PM
Last Post: _Aka_
  2d - orientation looping_co 1 5 09-01-2022, 04:17 PM
Last Post: _Aka_

Forum Jump: