Itoo Software Forum

Author Topic: Cars Along Spline Effect Problem  (Read 514 times)

REDVERTEX

  • Newbie
  • *
  • Posts: 6
Cars Along Spline Effect Problem
« on: March 14, 2018, 11:20:50 AM »
Dear Itoo Team,

I'm writing you with some issue i'm struggling with when i use Forest Pack for scattering cars along splines.
The new Effect panel is great and really helpful. Everything is perfect while having a flat terrain.
Unfortunately when you have slope the and you have surface picked the problem appears.
The objects are translated away from the pivot because of the effect.
Also I think there is an issue with the equation order. FP first is aligning the objects to the surface and then the effect makes the transition along the spline.
These two issues leads to not properly normal aligned objects and not proper Z position.

Please note that the same thing happens with the "XY local translate" Effect, which is also a great addition to the FP.

I'm attaching you several images so you can see my point clearly:






I hope my feedback is accurate and will be helpful for you.

Kind regards,
Kiril Alexandrov, RedVertex Team.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1599
Re: Cars Along Spline Effect Problem
« Reply #1 on: March 14, 2018, 04:12:09 PM »
Hi,

Thanks for letting us know about this limitation. The good news is that Forest Pack 6 has a couple of new features that have enabled me to correct this effect, and the X Local translate effect so that modified items will stick to the surface and rotate to follow surface normals.



The new version of the effect should be available soon in Forest Pack 6.

I hope that helps, please let me know if you have any more questions.

All the best,

Paul
« Last Edit: March 14, 2018, 04:13:44 PM by Paul Roberts »
Paul Roberts
iToo Software

REDVERTEX

  • Newbie
  • *
  • Posts: 6
Re: Cars Along Spline Effect Problem
« Reply #2 on: March 14, 2018, 06:44:19 PM »
Dear Paul,

Thank you very much for the update.
I've seen here the new features from the beta version topic and it sounds really helpful.Unfortunately, at the moment our company is not planing the update for the first half of this year.
Could you please let me know if there is any workaround in FP 5.4.0?

Regards,
Kiril Alexandrov, RedVertex Team.

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1548
Re: Cars Along Spline Effect Problem
« Reply #3 on: March 15, 2018, 04:51:22 PM »
Hi Kiril,

The FP5 is missing functions which allow the modified effect to follow surface normals, but it’s possible to stick items to the surface by adding the following line:

fpItem.position.z =  fpSurfaceHitZ(fpItem.position);

Hope that helps a bit.

Best regards,