Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - saverdrome

Pages: [1]
1
hi,

thank you for the response and the super fast build update!

2
hi guys,

i m using your fantastic asset in my game and i have tried to set curved properties at runtime (also instantiating the tunnel gameObject from code) but what happens is that the tunnel completely loses the initial position once curved tunnel switches from off to on.

you can find attached the result when i create the tunnel from code (but the same identical result comes out if i add the gameobject into the scene from IDE) and the i run the code

tunnel = TunnelFX2.CreateTunnel(new Vector3(0, 0, 0));
TunnelFX2 tunnelEffect = tunnel.GetComponent<TunnelFX2>();
tunnelEffect.preset = TunnelEffect.TUNNEL_PRESET.SpaceTravel;
tunnelEffect.curvedTunnel = true;

and the result (second image attached) if i comment out the set of curvedTunnel (no issue at all)

tunnel = TunnelFX2.CreateTunnel(new Vector3(0, 0, 0));
TunnelFX2 tunnelEffect = tunnel.GetComponent<TunnelFX2>();
tunnelEffect.preset = TunnelEffect.TUNNEL_PRESET.SpaceTravel;
//tunnelEffect.curvedTunnel = true;

am i missing something?


Pages: [1]