Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Control point rotation
#1
Hi,
Posted the topic over in the unity forum here:
http://forum.unity3d.com/threads/released-curvy-2-the-ultimate-spline-solution.358011/page-4

I want the object to use the path for positioning but the control points for rotation (so the rotation is the mix of the previous and next control points. E.g. if I'm .25% of the way from the previous to the next point it would be something like (Psudo code): Rotation == PreviousPoint.Rotation *.25 + NextPoint.Rotation *.75 /2 = MyControllerRotation.


To see an image of what I'm trying to achieve take a look at the attachements


Thanks


Attached Files Thumbnail(s)
           
Reply


Messages In This Thread
Control point rotation - by hoesterey - 03-16-2016, 08:32 PM
RE: Control point rotation - by Jake - 03-18-2016, 08:23 PM
RE: Control point rotation - by hoesterey - 03-20-2016, 10:01 PM
RE: Control point rotation - by Jake - 03-22-2016, 10:03 PM
RE: Control point rotation - by hoesterey - 03-23-2016, 04:46 PM
RE: Control point rotation - by Jake - 03-26-2016, 08:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting Distance from a World Point zorksox 3 5 04-16-2024, 07:30 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
  Avoiding runtime GC allocations on control point position change Ell223 8 18 02-24-2024, 10:43 AM
Last Post: _Aka_
Exclamation bad rotation aloriza 5 14 11-29-2023, 09:52 AM
Last Post: _Aka_

Forum Jump: