With my road I generate planes in code which end up being the road tiles (like scalextric pieces).
With my road I generate planes in code which end up being the road tiles (like scalextric pieces).
Sometimes I have the challenge that my player object can't make the ramp between 2 pieces.
->
______o-----------
In essence the player gets stuck in the geometry.
What could also happen is the diff in steps are such that
-->
______
____ o->
Player falls through geometry.
I'm having to calculate a slope between the 2 points using pythagoras and generating an intermediate sloping plan. I have to space the steps further aprt.
___________
/
/
___/
Sorry for the ascii. It's late and my mind is a bit Destiny2 frazzled.
Having to work on the sloping bit, I realised that I haven't used Pythagoras since high school. Did the pythagoras rotation calculation earlier in c#. I need to create the plan and do the spacing tomorrow. Hope it works!
BTW, I have it running on my phone now, which is a real treat to see it in action. Fonts all wrong size, etc, but still motivating me...
Sometimes I have the challenge that my player object can't make the ramp between 2 pieces.
______o-----------
In essence the player gets stuck in the geometry.
What could also happen is the diff in steps are such that
______
____ o->
Player falls through geometry.
I'm having to calculate a slope between the 2 points using pythagoras and generating an intermediate sloping plan. I have to space the steps further aprt.
___________
/
/
___/
Sorry for the ascii. It's late and my mind is a bit Destiny2 frazzled.
Having to work on the sloping bit, I realised that I haven't used Pythagoras since high school. Did the pythagoras rotation calculation earlier in c#. I need to create the plan and do the spacing tomorrow. Hope it works!
BTW, I have it running on my phone now, which is a real treat to see it in action. Fonts all wrong size, etc, but still motivating me...
Comments
What happens if the currency gains? Perhaps the car then crashes into the wall? Or maybe travels through it like Harry Potter's platform into some Nirvana?
These disasters could be offset if there was some mechanism whereby the driver can anticipate the fall/rise and choose the correct gear / handbrake turn to avoid imminent disaster? He would be responding to some data presented as maybe a heatmap, chart, traffic lights, intensity depending on the metrics you are using from your csv.
Argh, sorry, misunderstood what you wrote. For some reason I thought the ramps are already there, and the object gets stuck between the ramp and the next step.
Sorry, need to sleep more.