changing parent a child without changing child position of its blinkin——革命制度党ntable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) + - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK) +--- Thread: changing parent a child without changing child position of its blinkin (/Thread-changing-parent-a-child-without-changing-child-position-of-its-blinkin) |
changing parent a child without changing child position of its blinkin-mostafarabbani-04-05-2023 hello I have two reference frame in two places close to each other. The first reference frame has acoabot as its child (an object). I want this child to change his parent without changing its place. i use cob.setParent(ref2) but i have two problems: 1. child is blinking when change its parent 2. the position of child was changed Please help with this issue. RE: changing parent a child without changing child position of its blinkin-Sam-04-05-2023 Use Render to stop the rendering updates and setParentStatic to change parent with changing the position of the object. RDK.Render(False) cob.setParentStatic(ref) RDK.Render(True) |