I’ve started throwing together a small example earlier on today with “fixed” camera angles, like in some cool old horror games. Basically, the character always moves according to the active scene camera (with one exception, explained below). Collision boxes activate the camera areas. That works like a dream. What I’ve now been trying to implement into it is the following:
Character movements should only change if:
camera has been changed AND Joystick input is changed (Released, or Axis Changed)(so, if there has been a joystick input since you entered the new area, even if the slightest change in the axis, THEN I want to execute the new controls script that work for the appropriate cameras.
Concept: If the player is running forward and there’s a camera change, they won’t have to quickly turn the pad, they’d just have to hold the exact same direction they were going before the cam change, and the movement will carry on just forward. This way you can run down a long hallway with 200 camera changes but u only have to press and hold forward once Because you’re not changing the axis when you enter the new areas, so it’ll just run forward.
Here’s a blend file of my progress:
I’m pretty proud of it as a beginner myself, and It’s now kinda doing what I want - only activate new directions when new joystick input received(release) - but as you will see if you’ve downloaded, I’ve tried a workaround (quite a few versions on) and now, if I get into a new cam-area, and let go of joystick then it will reassign the controls to the active camera. But I don’t want to have to let go of it, I just want it to change when a new input is received. That includes Release AND Axis Change.
The Joystick sensor has been tried in mny ways to do this but I’m sure it’s gonna be something python… which is good I’m kinda getting into it now, seriously…
Anyways, if there’s anyone out there to care to help me out I’d be chuffed for life as it’s something I’ve been wanting to do since the original Silent Hill games! Would be a dream come true!
Also, if this is too confusing I’ll try and explain it better just let me know, and please have a look in the file, you might be able to help me!
Thanks everyone for looking!