Hello, I'm currently trying to get my player to be able to seamlessly switch between a 2D and 3D world. Kind of like in Mario Odyssey. However, I'm having a few issues and would appreciate and help.
I'm encountering an issue with my character's animations when switching from 3D to 2D. Specifically, the "speed" parameter on the animation controller is constantly changing, causing the character to switch between idle and moving repeatedly. Additionally, the "Direction" parameter doesn't align correctly - moving North/South causes the character to face east, and moving East/West causes the character to face North/South. I'm using the Mecanim system for the 2D animations.
Hello everyone,
I'm using "Spawn ORK Player" when switching to 2D. This spawns the player at the position of a game object. However, I'm encountering an issue where if the character spawns too close to the floor, they get stuck inside it. I've also tried using Spawn Points instead, but even with the 'Place On Ground' option disabled, I still encounter the same problem.
Any help or guidance you can provide to resolve these issues would be greatly appreciated. Thank you!
It looks like you're new here. If you want to get involved, click one of these buttons!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I've tried both changing the Spawn Offset and raising the origin position but can't seem to get the result I want. It either spawns way to high, or in the ground with no in between.
Mixing 3D and 2D will probably require to have the 2D still work on a 3D plane.
As for spawning in the ground - how's the scene setup generally?
It looks a bit like your 2D scene is in the ground, so the player might spawn correctly there, just the entire 2D part there being below the 3D ground.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
My 3D scenes have the camera at a 45-degree angle. Unfortunately, when transitioning to the '2D' scene I'm unable to change it to a 90-degree angle. Despite manually adding a Top Down Border Camera to my main camera in the '2D' scene, it keeps resetting to the 45-degree angle. Any advice or solutions would be greatly appreciated.
For the camera control component's setup - change the distance to 0 to have it above the target.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!