A magistrate has given a truck driver charged over a fatal Golden Square crash a second chance on bail by "the barest of margins".
Mathew Gray, 42, is accused of dangerous driving causing death in relation to the June 7 crash that killed 18-year-old bike rider Michael Keating in Golden Square.
Mr Gray, who was driving a recycling collection truck at the time, was alleged to have failed to give way at the intersection of Woodward Road and Hattam Street before hitting Mr Keating.
He was granted bail in July, but this was revoked last month after he was found to have been riding an electric motorcycle, breaching the condition that he not drive.
Mr Gray pleaded guilty this week to breaching his bail, driving unlicensed and driving an unregistered vehicle in relation to that offending.
On Friday he applied for bail again, with defence lawyer Luke Docherty arguing that delay until the resolution of the case was an issue and County Court trials were currently being scheduled for July and August next year.
More court news: Pair plead not guilty over toddler's death
Mr Docherty told the Bendigo Magistrates' Court that his client had complied well with the Court Integrated Services Program and returned clean drug screens.
Engagement with support services would be ongoing, he said.
Mr Docherty said Mr Gray had learnt his lesson from his 43 days in custody and he was not a repeat offender.
But the prosecution opposed bail, arguing Mr Gray posed an unacceptable risk.
Richard Pirrie said Mr Gray had demonstrated he was "not willing" to abide by bail conditions.
Lead investigator Detective Senior Constable Ben Oliver, from the Major Collision Investigation Unit, told the Mr Gray had also allegedly failed to come to the door when police attended his bail address and left the address during his curfew.
The court also heard further allegations about the circumstances of the fatal crash in June.
DSC Oliver said experts reported that the methamphetamine allegedly in Mr Gray's system at the time would not have led to impairment, but fatigue may have been a contributing factor.
The court heard Mr Gray had allegedly slept less than four hours the night before.
DSC Oliver told the court there was a clear view about 120 metres down Hattam Street - the street on which Mr Keating was riding when he was hit - about 40 metres out from the intersection, from the height of the truck.
The court heard the GPS on the truck also indicated it was travelling at 34 km/h 17 metres before the intersection, and while there was a slight speed reduction, there was no braking or evasive action.
Magistrate Michael King determined there were compelling reasons to grant Mr Gray bail, but warned the accused man that any breaches would result in his imprisonment until the resolution of his matter.
"Mr Gray, by the barest of margins I've decided to grant you bail," Dr King said.
Mr Gray's conditions of bail include a nightly curfew unless in the company of his wife, that he report to police three times a week and he surrender the electric motorcycle to police, among others.
He will appear in court in January for a contested committal hearing.
Have you signed up to the Bendigo Advertiser's daily newsletter and breaking news emails? You can register below and make sure you are up to date with everything that's happening in central Victoria.