Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Applying Centrifugal Force to Controller
#5
(03-06-2019, 12:13 PM)_Aka_ Wrote: What you are looking for is
VolumeController.VolumeData.GetCrossLength(pathF) to get a specific cross's length
or
VolumeController.VolumeData.CrossFToDistance(pathF, crossF) to compute the distance between two different point of coordinates (pathF, crossF1) and (pathF, crossF2)
Did that help?

Many thanks.
Perfect, I will need to use both of those at different points. 

Just to confirm:
If my volume was a doughnut made of 4 control points, which has a skinny cross at the start and really fat cross half way around.
A pathF value of 0 or 1 would give the smallest value, while a pathF value of 0.5 would be the highest value?

If then, I were to select the control point at 0.25 and drag it extremely far away so that the first half of the loop is a much longer distance; would a pathF value of 0.5 still return the point exactly on the middle control point or would it now be located somewhere on the path 50% of the length?

EDIT: going back to my first question, how do I get from the volumeController to the spline so I can call gettangeant on it? I thought it would be under volumedata..
Reply


Messages In This Thread
RE: Applying Centrifugal Force to Controller - by Mighty183 - 03-07-2019, 12:58 AM

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_
  Add noise to spline controller movement DekoGames 2 10 02-06-2024, 01:28 PM
Last Post: DekoGames
  Controller behavior like E21_VolumeControllerInput ashuraVlad 3 11 06-22-2023, 09:26 AM
Last Post: _Aka_
  how to make fast moving controller go all the way to linear points?(curvy8) hawken 7 12 06-06-2023, 09:47 AM
Last Post: _Aka_

Forum Jump: