KingBarou13!
KingBarou13!
CC#
Created by KingBarou13! on 10/5/2024 in #help
What the best way to handle splines/rail grinding in Unity?
Hi everyone! I'm working on a 3D sonic physics engine and I want to integrate splines with a player controller, but most of the tutorials I’ve found only show how to use splines for creating mesh paths or moving prop objects along a path using spline_animate. I'm looking to implement more complex mechanics like: Rail grinding: The player can move along a spline and jump off at any point, with speed carrying over. Auto-running sections: The player should be able to transition into a spline-based path, but their current speed should carry over instead of being reset. The player should also be able to jump between splines dynamically. How can I go about using splines in combination with a player controller? What are the basics I need to know to get started working on it? Are there any specific techniques or best practices for implementing this kind of system?
6 replies
CC#
Created by KingBarou13! on 9/26/2024 in #help
Dash Panel Mechanic not working
No description
2 replies
CC#
Created by KingBarou13! on 9/7/2024 in #help
Slope Physics not working when trying to make Sonic face movement direction
I'm working on a 3D sonic framework in Unity, and I'm starting to implement animations and player rotation. I ran into a bit of a problem where animations are all working as intended which is good, and the rotation works well on flat ground, but it messes up the slope physics completely, and when braking sonic turns at a slight angle for some reason. It should be in the video but it's kinda hard to pick out because I haven't added the braking animations yet. (turning off the rotation script makes everything work normally again so it's definitely the rotation script that's the problem). I've been trying to figure out a solution for a bit now but with no luck, so some help in figuring this out would be greatly appreciated. Here are the relevant scripts for this: RotationHandler (attached to capsule): https://pastecode.io/s/rv1418xi MoveAction: https://pastecode.io/s/8092tzsm PlayerPhysics: https://pastecode.io/s/p2qb2q81
36 replies