05-18-2015, 09:27 PM
TL;DR Can one vary the cross-section of the extruded mesh (specifically to create banked, curved berms at corners)?
Hi,
I do hope you can forgive this rather cheeky and/or naiive question!
I'm looking for an asset to help me in a racing mode for my game. Curvy seems a shoe-in and one I've been hoping to buy for a while. However I want to ensure it does (or can be made to do) everything I need first! To whit...
I want the road flat on the straights but curved at the turns (a bit like a quarter-pipe or some boarder-cross tracks). However I wish to retain the flat bottom (as if the road hadn't banked at all). Is this possible with Curvy? What about dynamically/procedurally?
I hope I've described that clearly enough. Sorry if not -- it feels a bit messy. I'll post a picture if not.
So what does this require? I guess varying the mesh extruded along the path? I've seen mention of a programatic curve being used to extrude. Can one vary that? Can one (even by coding) instruct Corvy how to vary parameters to the extruded curve on the basis of the original curve (e.g. its orientation)?
I'm a programmer and quite happy to adapt and supply patches back. Obviously I'd prefer not to have to. I'm hoping I'll find you allow a delegate to be registered that takes curve parameters and returns the curve to use at a given extrustion point. [img]images/smilies/cool.gif[/img]
Thanks in advance! Yours (a hopefully soon happy customer)
R.
p.s. I read the sticky post about updating the SplinePathMeshBuilder. It seems relevant. Is that work complete now? The beta-testers sticky post hints maybe it's ongoing? Is this something for that? Happy to help there.
Hi,
I do hope you can forgive this rather cheeky and/or naiive question!
I'm looking for an asset to help me in a racing mode for my game. Curvy seems a shoe-in and one I've been hoping to buy for a while. However I want to ensure it does (or can be made to do) everything I need first! To whit...
I want the road flat on the straights but curved at the turns (a bit like a quarter-pipe or some boarder-cross tracks). However I wish to retain the flat bottom (as if the road hadn't banked at all). Is this possible with Curvy? What about dynamically/procedurally?
I hope I've described that clearly enough. Sorry if not -- it feels a bit messy. I'll post a picture if not.
So what does this require? I guess varying the mesh extruded along the path? I've seen mention of a programatic curve being used to extrude. Can one vary that? Can one (even by coding) instruct Corvy how to vary parameters to the extruded curve on the basis of the original curve (e.g. its orientation)?
I'm a programmer and quite happy to adapt and supply patches back. Obviously I'd prefer not to have to. I'm hoping I'll find you allow a delegate to be registered that takes curve parameters and returns the curve to use at a given extrustion point. [img]images/smilies/cool.gif[/img]
Thanks in advance! Yours (a hopefully soon happy customer)
R.
p.s. I read the sticky post about updating the SplinePathMeshBuilder. It seems relevant. Is that work complete now? The beta-testers sticky post hints maybe it's ongoing? Is this something for that? Happy to help there.