Basically, I've made button triggers which allow you to zoom the camera in and out, using LB and RB respectively. The camera zooms in and out completely fine now when these are pressed, but there seems to be some really strange second result of this. Whenever I press either of these buttons, the game character teleports back to the start of the level, like you do when you push B in normal Trials games.
I don't understand why this is happening at all. Literally all I did was attatch the button triggers to a few state events, attach those to a couple of data sources, attach that to a function to subtract them, then just put the result to an object position event to move the camera. None of the set up is even connected to an object position event tied to the game character. In fact, to my knowledge, I haven't spawned ANYTHING that could cause the game chaaracter to teleport or restart like that since I've been making the map...![]()
So, yeah....Anybody have any idea what's causing this?![]()
If this is happening in testing, then press the Start button and make sure that "Extra Buttons" are DISABLED.
LB and RB are used to send you back or forward a checkpoint in the editor's testing mode.
Yeah, that was the problem... Works fine nowOriginally Posted by ShiftySamurai
...I'm just gonna go and feel incredibly stupid somewhere now.
Thanks Shify![]()
Don't feel bad. I literally had the same question last Friday...