Roblox Rotate Player Based On Terrain Angle
Roblox Rotate Player Based On Terrain Angle. You’ll want to find the normal of the ground below and then make your body rotate based on that Here is some simple code RaycastHit hit if(PhysicsSphereCast(transformposition 05f (transformup) out hit yourDistenceToGroundYouWant yourGroundLayers))…