Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connections and control point synchronization by script
#1
Is there any mean to create connections and set rotation/position synchronization by script? I managed to create a connection between two control points and setting the ConnectionSyncRotation/Position property does indeed change the connection color to corresponding synchronization type but it has no effect on the curve... maybe I should call some sort of refresh but I couldn't find it...?
Reply
#2
Okay, I think I've found what I was looking for: CurvySplineSegment.RefreshTransform(...) with all parameters set to true.
Reply
#3
Once you've established a connection, a change to a participating CP will refresh the connection. I.e. change the position of an involved CP and the connection will force all it's CP's to sync position (if they have the corresponding flag set).
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can I change splines directly on runner controller via script? sikamaru 1 9 03-12-2022, 08:40 PM
Last Post: _Aka_
  Problems compiling after pulling down project from source control obscurelyme 2 12 02-13-2022, 03:47 PM
Last Post: Marco Schultz
  Allow to control Global Illumination settings in CreateMesh node of PathGenerator RobinB 2 233 11-02-2021, 08:50 AM
Last Post: RobinB
Question Generating a path from selected point to the beginning of spline on a closed spline? Zendariel 5 409 10-29-2021, 01:57 PM
Last Post: _Aka_

Forum Jump: