Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Runtime] ClonePath + CurySpline refresh problems
#9
Ok, seems like you actually discovered two problems:

First, try to set FreeHandles=true and set both HandleOut/HandleIn of your CPs manually. What happens is that the editor synchronizes HandleIn/HandleOut when FreeHandles is off. Alternatively, set HandleInPosition/HandleOutPosition (like HandleOut/HandleIn, but using global coordinates). The bug is that HandleOut/HandleIn don't respect FreeHandles now. I'll fix this for the next release, so setting one will change the other immediately when FreeHandles is off.

The second bug is that changing Handles does not trigger a refresh now. A call to spline.Refresh(true,true,false) should do the trick.

Jake
Reply


Messages In This Thread

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_
  Avoiding runtime GC allocations on control point position change Ell223 8 18 02-24-2024, 10:43 AM
Last Post: _Aka_
Wink Modifying Splines at Runtime artsung 1 7 01-30-2024, 09:40 AM
Last Post: _Aka_
  Is it possible to create a road texture at runtime? artsung 1 4 01-30-2024, 09:30 AM
Last Post: _Aka_

Forum Jump: