Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
changing parent a child without changing child position of its blinkin
#1
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.
#2
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)
Please read the论坛Guidelinesbefore posting!
Find useful information about RoboDK by visiting ourOnline Documentation.




Users browsing this thread:
1 Guest(s)