Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Placing objects on volume
#2
Hi,

The difference in the position returned by Interpolate and InterpolateVolume does not seem to be caused by a mistake in your code, but is probably an issue in Curvy itself. I will take a deeper look at this soon.

Meanwhile, some remarks:
- you can optimize your code by computing p, up, and fwd only in the else section of your if. In your current code, when crossTfPosition != 0 you end up computing these vectors twice, once through the spline and then through the volume
- was there any reason that made you code your own object placing code instead of using a Volume Spots CG module?

Have a nice day and happy new year
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
Placing objects on volume - by Anthonyk - 12-31-2018, 02:14 AM
RE: Placing objects on volume - by _Aka_ - 12-31-2018, 10:34 AM
RE: Placing objects on volume - by _Aka_ - 12-31-2018, 11:10 AM
RE: Placing objects on volume - by Anthonyk - 12-31-2018, 02:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Set Volume to the Volume Controller at Runtime pako88 2 10 04-08-2024, 03:26 PM
Last Post: _Aka_
Question Volume Spots inter group distance Sacryn 1 3 02-27-2024, 04:08 PM
Last Post: _Aka_
  Line Renderer between two objects on a spline travellinggamedev 1 7 01-13-2024, 10:39 AM
Last Post: _Aka_
  Removing the objects behind an object alms94 6 6 12-06-2023, 09:31 PM
Last Post: _Aka_

Forum Jump: