10-14-2013, 06:43 PM
Hi,
I've been playing around with Curvy trying to work out how to achieve something, however I've had to admit defeat and I'm hoping someone here might be able to help me out.
Basically I'm trying use Pool Manager (from Path-o-logical) to randomly spawn a series of Curvy splines that I've setup as prefabs. With these spawned splines then being joined together to make a single spline. I've managed to get the process/logic of joining multiple instantiated splines to each other sorted with a little trial and error.
However getting Pool Manager to spawn the CurvySpline prefabs is where my plan come unstuck.
Pool Manager spawns prefabs using Unity.Transform, but obviously CurvySplines are not of the type Unity.Transform. Is there a way to cast CurvySplines as Unity.Transforms? Or is it a case that Curvy and Pool Manager are not going to play nice and I'll need to look at an alternative pooling system?
Any help or suggestions would be appreciated.
Regards,
Ewan
I've been playing around with Curvy trying to work out how to achieve something, however I've had to admit defeat and I'm hoping someone here might be able to help me out.
Basically I'm trying use Pool Manager (from Path-o-logical) to randomly spawn a series of Curvy splines that I've setup as prefabs. With these spawned splines then being joined together to make a single spline. I've managed to get the process/logic of joining multiple instantiated splines to each other sorted with a little trial and error.
However getting Pool Manager to spawn the CurvySpline prefabs is where my plan come unstuck.
Pool Manager spawns prefabs using Unity.Transform, but obviously CurvySplines are not of the type Unity.Transform. Is there a way to cast CurvySplines as Unity.Transforms? Or is it a case that Curvy and Pool Manager are not going to play nice and I'll need to look at an alternative pooling system?
Any help or suggestions would be appreciated.
Regards,
Ewan