Hi, I made a rock Crawler after alot of trouble! All I need to do now is add a camera in the vehicle and be able to change between this camera and the game camera, preferably by using the Y button on the Xbox controller, please help me as I'm going a bit mad now!
add a custom game camera to the vehicle
use the y button trigger to trigger a state event(set on toggle) to turn on the camera
if this doesnt work then i can look for another way tomorow
i used a set variable event to set a user value to 1 from 0 that was tied to both the custom camera enable and use as game camera under the advance camera setting.
to expand on your other thread :/
you can glue a custom cameras or use a physics joint.
Neither of these ways seem to work, I've been messing with it for a while and no luck!![]()
in the main camera (the blue one) set up the interpolation to max.
I think the only way I'm gonna be able to do this is if someone uploads a YouTube video showing exactly what I need to do!
Do this, but in addition to the state event also have a camera event (set on toggle & targeting the camera) in the chain too.Originally Posted by sparkierjonesz
Make sure the custom cam you placed has the enabled box unchecked, possibly change it from interpolate to cut too, depends. And mess around with the advanced cam settings too if need be.
You will probably bail out when you press Y too, probably better to set it to Right stick click.
This is from the top of my head, but it should work. Note that you NEED the camera event in the chain for it to take priority over the default game cam when not in range.
place a variable data source set to 0
place a two input operator set to subtract, operand1=1, operand2=the variable data source
place a set value event, point 'Value' to the two input operator and point the target to the variable data source
glue a custom camera inside your motor and open its options, go over 'Enable' hit the y button and point this to the variable data source, set the camera to CUT and open up the advance settings, point 'Use as game camera' to the variable data source as well.
send your 'Y' button 'On Press' impulse to the set value event.
open up the main camera options (the blue camera) and set under the advance settings the interpolation speed (i think) to its max value, this stops the custom camera sliding.
i think i've covered what needs to be done.