Report this content
We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.
Note that misuse of the reporting tool will not be tolerated.Item being reported:
I haven't tested this fully, but I would start by attaching a cube via bolt to the character hips. Put a microchip on the cube with a gyroscope, a laser scope, and a splitter. Set the gyroscope to full strength, and set the laser scope to point straight down (making sure to stretch the arrow far enough that it will hit the ground.
On the third tab of the laser tweak menu, you'll find the "Hit Surface Orientation" output. Wire that output to the splitter, and the C output should change from negative to positive some number depending on the slope your character is on.
From there, there's a few ways to get this to work. I'm guessing you know what to do.
If it's me, I'd use a wireless transmitter to get the signal to the camera. Probably throw a signal manipulator in there somewhere to smooth it out. Then you can keyframe the camera angles, put the keyframes on a timeline, and wire your signal into the playhead of the timeline.
You'll need to either use some calculators or a signal manipulator's threshold remapper to convert the angle range (depends on the slopes in your level) to a range of 0 to 1.
It's currently 1:30 am my time, so it's possible that makes more sense in my head than it does to anyone reading it. lol